|
OmniEvents
|
Base class for three of the four Proxy servants. More...
#include <ProxyManager.h>


Public Member Functions | |
| virtual | ~Proxy () |
| virtual void | reincarnate (const string &oid, const PersistNode &node)=0 |
| Re-create a servant from information saved in the log file. More... | |
| virtual void | output (ostream &os)=0 |
| Save this object's state to a stream. More... | |
Public Member Functions inherited from OmniEvents::Servant | |
| virtual PortableServer::POA_ptr | _default_POA () |
| virtual | ~Servant () |
Protected Member Functions | |
| Proxy (PortableServer::POA_ptr poa) | |
| void | keyOutput (ostream &os, const char *name) |
| Helper method for constructing persistency output. More... | |
| void | eraseKey (const char *name) |
| Helper method for constructing persistency output. More... | |
| void | basicOutput (ostream &os, const char *name, CORBA::Object_ptr target=CORBA::Object::_nil(), const char *extraAttributes=NULL) |
| Helper method for constructing persistency output. More... | |
Protected Member Functions inherited from OmniEvents::Servant | |
| Servant (PortableServer::POA_ptr poa) | |
| void | activateObjectWithId (const char *oidStr) |
| Calls activate_object_with_id() to activate this servant in its POA. More... | |
| void | deactivateObject () |
| Calls deactivate_object() to deactivate this servant in its POA. More... | |
Protected Attributes | |
| CORBA::Request_var | _req |
Protected Attributes inherited from OmniEvents::Servant | |
| PortableServer::POA_var | _poa |
Private Member Functions | |
| Proxy (const Proxy &) | |
| NO IMPLEMENTATION. More... | |
Base class for three of the four Proxy servants.
Proxy servants are stored in a ProxyManager. There is one Proxy servant for each CORBA proxy object. (Compare with ProxyPushConsumer_i, where all objects are implemented by a single servant.)
Definition at line 104 of file ProxyManager.h.
|
virtual |
Definition at line 163 of file ProxyManager.cc.
References OmniEvents::Orb::deferredRequest(), and OmniEvents::Orb::inst().
|
protected |
Definition at line 172 of file ProxyManager.cc.
|
private |
NO IMPLEMENTATION.
|
protected |
Helper method for constructing persistency output.
Definition at line 201 of file ProxyManager.cc.
References OmniEvents::Orb::_orb, OmniEvents::Orb::inst(), and keyOutput().
Referenced by OmniEvents::ProxyPullSupplier_i::output(), OmniEvents::ProxyPullConsumer_i::output(), and OmniEvents::ProxyPushSupplier_i::output().
|
protected |
Helper method for constructing persistency output.
Definition at line 189 of file ProxyManager.cc.
References OmniEvents::omniEventsLog::exists(), keyOutput(), and OmniEvents::WriteLock::os.
Referenced by OmniEvents::ProxyPullConsumer_i::collect(), OmniEvents::ProxyPullConsumer_i::disconnect_pull_consumer(), OmniEvents::ProxyPullSupplier_i::disconnect_pull_supplier(), and OmniEvents::ProxyPushSupplier_i::disconnect_push_supplier().
|
protected |
Helper method for constructing persistency output.
Definition at line 179 of file ProxyManager.cc.
References OmniEvents::Servant::_poa.
Referenced by basicOutput(), and eraseKey().
|
pure virtual |
Save this object's state to a stream.
Implemented in OmniEvents::ProxyPushSupplier_i, OmniEvents::ProxyPullConsumer_i, and OmniEvents::ProxyPullSupplier_i.
|
pure virtual |
Re-create a servant from information saved in the log file.
Implemented in OmniEvents::ProxyPushSupplier_i, OmniEvents::ProxyPullConsumer_i, and OmniEvents::ProxyPullSupplier_i.
Referenced by OmniEvents::ProxyManager::reincarnate().
|
protected |
Definition at line 128 of file ProxyManager.h.
Referenced by OmniEvents::ProxyPullConsumer_i::collect(), OmniEvents::ProxyPullSupplier_i::connect_pull_consumer(), OmniEvents::ProxyPullConsumer_i::connect_pull_supplier(), OmniEvents::ProxyPushSupplier_i::connect_push_consumer(), and OmniEvents::ProxyPullConsumer_i::triggerRequest().