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

OmniEvents::Servant Class Reference

Base class for servants. More...

#include <Servant.h>

Inheritance diagram for OmniEvents::Servant:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual PortableServer::POA_ptr _default_POA ()
virtual ~Servant ()

Protected Methods

 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...

Output basicOutput (ostream &os, const char *name, int indent, PortableServer::ServantBase *servant, CORBA::Object_ptr target=CORBA::Object::_nil())
 Helper method for constructing persistency output. More...


Protected Attributes

PortableServer::POA_var _poa

Private Methods

 Servant ()
 No default constructor. More...


Detailed Description

Base class for servants.

Stores the servant's POA. Provides some useful helper methods.

Definition at line 78 of file Servant.h.


Constructor & Destructor Documentation

OmniEvents::Servant::~Servant   [virtual]
 

Definition at line 88 of file Servant.cc.

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

Definition at line 81 of file Servant.cc.

OmniEvents::Servant::Servant   [private]
 

No default constructor.


Member Function Documentation

PortableServer::POA_ptr OmniEvents::Servant::_default_POA   [virtual]
 

Definition at line 94 of file Servant.cc.

References _poa.

void OmniEvents::Servant::activateObjectWithId const char *    oidStr [protected]
 

Calls activate_object_with_id() to activate this servant in its POA.

Definition at line 100 of file Servant.cc.

References _poa, and DB.

Referenced by OmniEvents::ConsumerAdmin_i::ConsumerAdmin_i(), OmniEvents::EventChannel_i::EventChannel_i(), OmniEvents::EventChannelFactory_i::EventChannelFactory_i(), OmniEvents::ProxyManager::ProxyManager(), OmniEvents::ProxyPushSupplier_i::reincarnate(), OmniEvents::ProxyPullSupplier_i::reincarnate(), OmniEvents::ProxyPullConsumer_i::reincarnate(), and OmniEvents::SupplierAdmin_i::SupplierAdmin_i().

Servant::Output OmniEvents::Servant::basicOutput ostream &    os,
const char *    name,
int    indent,
PortableServer::ServantBase *    servant,
CORBA::Object_ptr    target = CORBA::Object::_nil()
[protected]
 

Helper method for constructing persistency output.

Definition at line 182 of file Servant.cc.

References _poa.

Referenced by OmniEvents::SupplierAdmin_i::output(), OmniEvents::ProxyPushSupplier_i::output(), OmniEvents::ProxyPullSupplier_i::output(), OmniEvents::ProxyPullConsumer_i::output(), and OmniEvents::ConsumerAdmin_i::output().

void OmniEvents::Servant::deactivateObject   [protected]
 

Calls deactivate_object() to deactivate this servant in its POA.

Definition at line 132 of file Servant.cc.

References _poa, and DB.

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


Member Data Documentation

PortableServer::POA_var OmniEvents::Servant::_poa [protected]
 

Definition at line 92 of file Servant.h.

Referenced by _default_POA(), activateObjectWithId(), basicOutput(), OmniEvents::ConsumerAdmin_i::ConsumerAdmin_i(), OmniEvents::ProxyPushConsumer_i::createObject(), OmniEvents::EventChannel_i::createPoa(), deactivateObject(), OmniEvents::EventChannel_i::EventChannel_i(), OmniEvents::EventChannel_i::for_consumers(), OmniEvents::EventChannel_i::for_suppliers(), OmniEvents::SupplierAdmin_i::obtain_pull_consumer(), OmniEvents::ConsumerAdmin_i::obtain_pull_supplier(), OmniEvents::SupplierAdmin_i::obtain_push_consumer(), OmniEvents::ConsumerAdmin_i::obtain_push_supplier(), OmniEvents::EventChannelFactory_i::output(), OmniEvents::EventChannel_i::output(), OmniEvents::ProxyPushConsumer_i::ProxyPushConsumer_i(), and OmniEvents::SupplierAdmin_i::SupplierAdmin_i().


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