Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

OmniEvents::Proxy Class Reference

Base class for three of the four Proxy servants. More...

#include <ProxyManager.h>

Inheritance diagram for OmniEvents::Proxy:

Inheritance graph
[legend]
Collaboration diagram for OmniEvents::Proxy:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~Proxy ()
virtual void reincarnate (const OEP_prxy &prxy)=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...


Protected Methods

 Proxy (PortableServer::POA_ptr poa)
bool gotException ()
 Helper method to check _req for an exception. More...


Protected Attributes

CORBA::Request_var _req

Private Methods

 Proxy (const Proxy &)

Detailed Description

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 102 of file ProxyManager.h.


Constructor & Destructor Documentation

OmniEvents::Proxy::~Proxy   [virtual]
 

Definition at line 146 of file ProxyManager.cc.

References _req.

OmniEvents::Proxy::Proxy PortableServer::POA_ptr    poa [protected]
 

Definition at line 170 of file ProxyManager.cc.

OmniEvents::Proxy::Proxy const Proxy &    [private]
 


Member Function Documentation

bool OmniEvents::Proxy::gotException   [protected]
 

Helper method to check _req for an exception.

If an exception has been received, then deactivateObject() is called. Pre-condition: _req must have received a reply.

Definition at line 155 of file ProxyManager.cc.

References _req, DB, and OmniEvents::Servant::deactivateObject().

virtual void OmniEvents::Proxy::output ostream &    os [pure virtual]
 

Save this object's state to a stream.

Implemented in OmniEvents::ProxyPullConsumer_i, OmniEvents::ProxyPullSupplier_i, and OmniEvents::ProxyPushSupplier_i.

Referenced by OmniEvents::ProxyManager::output().

virtual void OmniEvents::Proxy::reincarnate const OEP_prxy   prxy [pure virtual]
 

Re-create a servant from information saved in the log file.

Implemented in OmniEvents::ProxyPullConsumer_i, OmniEvents::ProxyPullSupplier_i, and OmniEvents::ProxyPushSupplier_i.

Referenced by OmniEvents::ProxyManager::reincarnate().


Member Data Documentation

CORBA::Request_var OmniEvents::Proxy::_req [protected]
 

Definition at line 121 of file ProxyManager.h.

Referenced by OmniEvents::ProxyPullSupplier_i::connect_pull_consumer(), OmniEvents::ProxyPullConsumer_i::connect_pull_supplier(), OmniEvents::ProxyPushSupplier_i::connect_push_consumer(), gotException(), OmniEvents::ProxyPushSupplier_i::trigger(), OmniEvents::ProxyPullConsumer_i::trigger(), and ~Proxy().


The documentation for this class was generated from the following files:
Generated on Fri Dec 12 10:53:14 2003 for OmniEvents by doxygen1.2.15