Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class 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 Member Functions

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

Protected Member Functions

 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

PortableServer::POA_var _poa

Private Member Functions

 Servant ()
 No default constructor.

Detailed Description

Base class for servants.

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

Definition at line 113 of file Servant.h.


Constructor & Destructor Documentation

OmniEvents::Servant::~Servant  )  [virtual]
 

Definition at line 109 of file Servant.cc.

References DB, and OMNIEVENTS__ADDR.

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

Definition at line 99 of file Servant.cc.

References DB, and OMNIEVENTS__ADDR.

OmniEvents::Servant::Servant  )  [private]
 

No default constructor.


Member Function Documentation

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

Definition at line 118 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 124 of file Servant.cc.

References _poa, DB, IF_OMNIORB4, NP_MINORSTRING, and OMNIEVENTS__ADDR.

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

void OmniEvents::Servant::deactivateObject  )  [protected]
 

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

Definition at line 159 of file Servant.cc.

References _poa, DB, IF_OMNIORB4, NP_MINORSTRING, and OMNIEVENTS__ADDR.

Referenced by OmniEvents::ProxyPullConsumer_i::collect(), OmniEvents::Mapper::destroy(), OmniEvents::ProxyPullConsumer_i::disconnect_pull_consumer(), OmniEvents::ProxyPullSupplier_i::disconnect_pull_supplier(), and OmniEvents::ProxyPushSupplier_i::disconnect_push_supplier().


Member Data Documentation

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

Definition at line 131 of file Servant.h.

Referenced by _default_POA(), OmniEvents::ProxyManager::activate(), OmniEvents::EventChannel_i::activate(), activateObjectWithId(), OmniEvents::ProxyPushConsumer_i::createObject(), OmniEvents::EventChannel_i::createPoa(), deactivateObject(), OmniEvents::Proxy::keyOutput(), OmniEvents::SupplierAdmin_i::obtain_pull_consumer(), OmniEvents::ConsumerAdmin_i::obtain_pull_supplier(), OmniEvents::ConsumerAdmin_i::obtain_push_supplier(), OmniEvents::EventChannel_i::output(), OmniEvents::ProxyPushConsumer_i::ProxyPushConsumer_i(), OmniEvents::SupplierAdmin_i::reincarnate(), OmniEvents::ProxyPushConsumer_i::reincarnate(), OmniEvents::ConsumerAdmin_i::reincarnate(), OmniEvents::EventChannel_i::run_undetached(), and OmniEvents::SupplierAdmin_i::SupplierAdmin_i().


The documentation for this class was generated from the following files:
Generated on Fri Aug 26 20:56:17 2005 for OmniEvents by  doxygen 1.4.3-20050530