OmniEvents
OmniEvents::Proxy Class Referenceabstract

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

#include <ProxyManager.h>

Inheritance diagram for OmniEvents::Proxy:
Collaboration diagram for OmniEvents::Proxy:

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.
 
virtual void output (ostream &os)=0
 Save this object's state to a stream.
 
- 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.
 
void eraseKey (const char *name)
 Helper method for constructing persistency output.
 
void basicOutput (ostream &os, const char *name, CORBA::Object_ptr target=CORBA::Object::_nil(), const char *extraAttributes=NULL)
 Helper method for constructing persistency output.
 
- 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.
 
void deactivateObject ()
 Calls deactivate_object() to deactivate this servant in its POA.
 

Protected Attributes

CORBA::Request_var _req
 
- Protected Attributes inherited from OmniEvents::Servant
PortableServer::POA_var _poa
 

Private Member Functions

 Proxy (const Proxy &)
 NO IMPLEMENTATION.
 

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

Constructor & Destructor Documentation

◆ ~Proxy()

OmniEvents::Proxy::~Proxy ( )
virtual

◆ Proxy() [1/2]

OmniEvents::Proxy::Proxy ( PortableServer::POA_ptr  poa)
protected

Definition at line 172 of file ProxyManager.cc.

◆ Proxy() [2/2]

OmniEvents::Proxy::Proxy ( const Proxy )
private

NO IMPLEMENTATION.

Member Function Documentation

◆ basicOutput()

void OmniEvents::Proxy::basicOutput ( ostream os,
const char name,
CORBA::Object_ptr  target = CORBA::Object::_nil(),
const char extraAttributes = NULL 
)
protected

◆ eraseKey()

◆ keyOutput()

void OmniEvents::Proxy::keyOutput ( ostream os,
const char name 
)
protected

Helper method for constructing persistency output.

Definition at line 179 of file ProxyManager.cc.

References OmniEvents::Servant::_poa.

Referenced by basicOutput(), and eraseKey().

◆ output()

virtual void OmniEvents::Proxy::output ( ostream os)
pure virtual

◆ reincarnate()

virtual void OmniEvents::Proxy::reincarnate ( const string oid,
const PersistNode node 
)
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

◆ _req


The documentation for this class was generated from the following files: