#include <CEC_EventChannel.h>
Collaboration diagram for TAO_CEC_EventChannel:
This class is the Mediator between all the classes in the EC implementation, its main task is to redirect the messages to the right components, to hold and manage the lifetime of the long lived objects (Timer_Module, SupplierAdmin, ConsumerAdmin and Dispatching) and to provide a simpler interface to the CEC_Factory.
|
|
|
constructor If <own_factory> is not 0 it assumes ownership of the factory. If the factory is <nil> it uses the Service_Configurator to load the Factory, if not found it uses TAO_CEC_Default_Resource_Factory |
|
destructor
|
|
Start the internal threads (if any), etc. After this call the EC can be used. |
|
|
|
Used to inform the EC that a Supplier has connected or disconnected from it. |
|
|
|
Used to inform the EC that a Consumer has connected or disconnected from it. |
|
Access the consumer admin implementation.
|
|
Access the consumer control strategy.
|
|
|
|
Can the consumers reconnect to the EC?
|
|
Locking strategies for the ProxyPushConsumer and ProxyPushSupplier objects |
|
Create and destroy a ProxyPushConsumer.
|
|
Create and destroy a ProxyPushConsumer.
|
|
Create and destroy a ProxyPullSupplier.
|
|
Create and destroy a ProxyPushSupplier.
|
|
|
|
Create and destroy a the collections used to store Proxy*Consumers |
|
|
|
Create and destroy a the collections used to store Proxy*Suppliers |
|
|
|
Commit suicide.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Should we send callback disconnect messages when a proxy is disconnected by the client |
|
|
|
|
|
|
|
|
|
Access the dispatching module....
|
|
The default implementation is: this->consumer_admin ()->_this (env); |
|
The default implementation is: this->supplier_admin ()->_this (env); |
|
|
|
|
|
|
|
|
|
|
|
Shutdown any internal threads, cleanup all the internal structures, flush all the messages, etc. |
|
Access the supplier admin implementation.
|
|
Access the supplier control strategy.
|
|
Access the supplier and consumer POAs from the factory.
|
|
Can the suppliers reconnect to the EC?
|
|
The ConsumerAdmin implementation.
|
|
Strategies to disconnect misbehaving or destroyed consumers and suppliers |
|
|
|
Consumer/Supplier reconnection flags.
|
|
If not zero we send callbacks when a proxy is disconnected.
|
|
The dispatching "module".
|
|
This is the abstract factory that creates all the objects that compose an event channel, the event channel simply acts as a Mediator among them. |
|
Flag that indicates if we own the factory.
|
|
The pulling strategy.
|
|
|
|
The SupplierAdmin implementation.
|
|
|
|
The POAs used to activate "supplier-side" and "consumer-side" objects. |
|
|