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


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 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::ConsumerAdmin_i::ConsumerAdmin_i(), OmniEvents::EventChannelFactory_i::EventChannelFactory_i(), 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::Mapper::destroy(), OmniEvents::ProxyPullConsumer_i::disconnect_pull_consumer(), OmniEvents::ProxyPullSupplier_i::disconnect_pull_supplier(), OmniEvents::ProxyPushSupplier_i::disconnect_push_supplier(), OmniEvents::ProxyPushSupplier_i::trigger(), and OmniEvents::ProxyPullConsumer_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::SupplierAdmin_i::reincarnate(), 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 Fri Nov 19 17:42:37 2004 for OmniEvents by doxygen1.2.15