#include <ConsumerAdmin.h>
Inheritance diagram for OmniEvents::ConsumerAdmin_i:
Public Methods | |
CosEventChannelAdmin::ProxyPushSupplier_ptr | obtain_push_supplier () |
CosEventChannelAdmin::ProxyPullSupplier_ptr | obtain_pull_supplier () |
ConsumerAdmin_i (const EventChannel_i &channel, PortableServer::POA_ptr poa) | |
ConsumerAdmin_i (const EventChannel_i &channel, PortableServer::POA_ptr poa, const OEP_caps &caps) | |
virtual | ~ConsumerAdmin_i () |
void | send (list< CORBA::Any * > &events) |
Queues up events for sending to consumers. More... | |
void | output (ostream &os) |
Save this object's state to a stream. More... | |
Static Public Methods | |
void | discard (list< CORBA::Any * > &events) |
Throws away events, when there are no consumers for them. More... | |
Private Attributes | |
EventQueue | _queue |
ProxyPushSupplierManager * | _pushSupplier |
ProxyPullSupplierManager * | _pullSupplier |
|
Definition at line 53 of file ConsumerAdmin.cc. References OmniEvents::Servant::activateObjectWithId(). |
|
Definition at line 66 of file ConsumerAdmin.cc. References OmniEvents::Servant::_poa, _pullSupplier, _pushSupplier, _queue, OmniEvents::Servant::activateObjectWithId(), and OmniEvents::ProxyManager::reincarnate(). |
|
Definition at line 95 of file ConsumerAdmin.cc. References _pullSupplier, and _pushSupplier. |
|
Throws away events, when there are no consumers for them. On exit, the 'events' parameter is empty. Definition at line 128 of file ConsumerAdmin.cc. |
|
Definition at line 45 of file ConsumerAdmin.cc. References OmniEvents::Servant::_poa, _pullSupplier, _queue, and OmniEvents::ProxyPullSupplierManager::createObject(). |
|
Definition at line 36 of file ConsumerAdmin.cc. References OmniEvents::Servant::_poa, _pushSupplier, _queue, and OmniEvents::ProxyPushSupplierManager::createObject(). |
|
Save this object's state to a stream.
Definition at line 140 of file ConsumerAdmin.cc. References _pullSupplier, _pushSupplier, OmniEvents::Servant::basicOutput(), and OmniEvents::ProxyManager::output(). Referenced by OmniEvents::EventChannel_i::output(). |
|
Queues up events for sending to consumers. Takes ownership of the events. On exit, the 'events' parameter is empty. Definition at line 110 of file ConsumerAdmin.cc. References OmniEvents::ProxyPushSupplierManager::_condition, OmniEvents::ProxyPushSupplierManager::_lock, _pushSupplier, _queue, OmniEvents::EventQueue::append(), and DB. Referenced by OmniEvents::EventChannel_i::run(). |
|
Definition at line 88 of file ConsumerAdmin.h. Referenced by ConsumerAdmin_i(), obtain_pull_supplier(), output(), and ~ConsumerAdmin_i(). |
|
Definition at line 87 of file ConsumerAdmin.h. Referenced by ConsumerAdmin_i(), obtain_push_supplier(), output(), send(), and ~ConsumerAdmin_i(). |
|
Definition at line 86 of file ConsumerAdmin.h. Referenced by ConsumerAdmin_i(), obtain_pull_supplier(), obtain_push_supplier(), and send(). |