#include <ProxyManager.h>
Inheritance diagram for OmniEvents::ProxyManager:
Public Methods | |
void | etherealize (const PortableServer::ObjectId &oid, PortableServer::POA_ptr adapter, PortableServer::Servant serv, CORBA::Boolean cleanup_in_progress, CORBA::Boolean remaining_activations) |
Implements etherealize() method from ServantActivator interface. More... | |
void | reincarnate (const OepPrxyList &pdat) |
Re-create servants from information saved in the log file. More... | |
void | output (ostream &os) |
Save this object's state to a stream. More... | |
Protected Methods | |
ProxyManager (PortableServer::POA_ptr poa, const char *name) | |
virtual | ~ProxyManager () |
Protected Attributes | |
set< Proxy * > | _servants |
The set of all active Proxies in this object's _managedPoa. More... | |
PortableServer::POA_var | _managedPoa |
The POA owned & managed by this object. More... |
Each ProxyManager manages its own POA (_managedPoa), with policies: PERSISTENT, USER_ID, NO_IMPLICIT_ACTIVATION, USE_SERVANT_MANAGER, SINGLE_THREAD_MODEL. This POA is only used to contain objects of a single Proxy type. Specific subclasses must implement incarnate() & createObject() methods.
Definition at line 59 of file ProxyManager.h.
|
Definition at line 90 of file ProxyManager.cc. References _managedPoa, and OmniEvents::Servant::activateObjectWithId(). |
|
Definition at line 135 of file ProxyManager.cc. |
|
Implements etherealize() method from ServantActivator interface.
Reimplemented in OmniEvents::ProxyPushSupplierManager. Definition at line 39 of file ProxyManager.cc. |
|
Save this object's state to a stream.
Definition at line 81 of file ProxyManager.cc. References _servants, and OmniEvents::Proxy::output(). Referenced by OmniEvents::SupplierAdmin_i::output(), and OmniEvents::ConsumerAdmin_i::output(). |
|
Re-create servants from information saved in the log file.
Definition at line 58 of file ProxyManager.cc. References _managedPoa, _servants, DB, OepPrxyList, and OmniEvents::Proxy::reincarnate(). Referenced by OmniEvents::ConsumerAdmin_i::ConsumerAdmin_i(), and OmniEvents::SupplierAdmin_i::SupplierAdmin_i(). |
|
The POA owned & managed by this object. Don't confuse it with _poa (inherited from class Servant) which points to the POA in which THIS object resides. Definition at line 93 of file ProxyManager.h. Referenced by OmniEvents::ProxyPushSupplierManager::createObject(), OmniEvents::ProxyPullSupplierManager::createObject(), OmniEvents::ProxyPullConsumerManager::createObject(), OmniEvents::ProxyPushSupplierManager::incarnate(), OmniEvents::ProxyPullSupplierManager::incarnate(), OmniEvents::ProxyPullConsumerManager::incarnate(), ProxyManager(), and reincarnate(). |
|
The set of all active Proxies in this object's _managedPoa.
Definition at line 88 of file ProxyManager.h. Referenced by etherealize(), OmniEvents::ProxyPushSupplierManager::incarnate(), OmniEvents::ProxyPullSupplierManager::incarnate(), OmniEvents::ProxyPullConsumerManager::incarnate(), output(), reincarnate(), OmniEvents::ProxyPushSupplierManager::run_undetached(), and OmniEvents::ProxyPullConsumerManager::trigger(). |