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 79 of file Servant.h.


Constructor & Destructor Documentation

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

Definition at line 96 of file Servant.cc.

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

Definition at line 89 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 102 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 108 of file Servant.cc.

References _poa, DB, IF_OMNIORB4, and NP_MINORSTRING.

Referenced by OmniEvents::EventChannel_i::activate(), OmniEvents::Mapper::Mapper(), OmniEvents::ProxyManager::ProxyManager(), 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 143 of file Servant.cc.

References _poa, DB, IF_OMNIORB4, and NP_MINORSTRING.

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


Member Data Documentation

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

Definition at line 93 of file Servant.h.

Referenced by _default_POA(), 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::ProxyPushConsumer_i::reincarnate(), OmniEvents::ConsumerAdmin_i::reincarnate(), OmniEvents::EventChannel_i::run(), OmniEvents::SupplierAdmin_i::SupplierAdmin_i(), and OmniEvents::EventChannel_i::~EventChannel_i().


The documentation for this class was generated from the following files:
Generated on Mon Jan 9 03:53:17 2006 for OmniEvents by  doxygen 1.4.6