TAO_CosEvent
2.1.2
|
ConsumerAdmin. More...
#include <CEC_ConsumerAdmin.h>
ConsumerAdmin.
Implements the ConsumerAdmin interface, i.e. the factory for ProxyPushSupplier objects. = MEMORY MANAGMENT It does not assume ownership of the TAO_CEC_EventChannel object; but it does assume ownership of the TAO_CEC_ProxyPushSupplier_Set object. = LOCKING No provisions for locking, access must be serialized externally. = TODO
TAO_CEC_ConsumerAdmin::TAO_CEC_ConsumerAdmin | ( | TAO_CEC_EventChannel * | event_channel | ) |
constructor. If <supplier_set> is nil then it builds one using the event_channel argument. In any case it assumes ownership.
|
virtual |
destructor...
|
virtual |
|
virtual |
Used to inform the EC that a Supplier has connected or disconnected from it.
|
virtual |
|
virtual |
|
virtual |
void TAO_CEC_ConsumerAdmin::for_each | ( | TAO_ESF_Worker< TAO_CEC_ProxyPushSupplier > * | worker | ) |
For each elements call <worker->work()>.
void TAO_CEC_ConsumerAdmin::for_each | ( | TAO_ESF_Worker< TAO_CEC_ProxyPullSupplier > * | worker | ) |
|
virtual |
|
virtual |
void TAO_CEC_ConsumerAdmin::push | ( | const CORBA::Any & | event | ) |
Push the event to all the consumers.
|
virtual |
|
virtual |
|
virtual |
The event channel is shutting down, inform all the consumers of this
Store the default POA.
The Event Channel we belong to.
|
private |
Implement the pull side of this class.
|
private |
Implement the push side of this class.