OmniEvents::EventChannelFactory_i Class Reference

#include <EventChannelFactory.h>

Inheritance diagram for OmniEvents::EventChannelFactory_i:

Inheritance graph
[legend]
Collaboration diagram for OmniEvents::EventChannelFactory_i:

Collaboration graph
[legend]

List of all members.

Public Member Functions

CORBA::Boolean supports (const CosLifeCycle::Key &k)
 Returns true if the key passed has the following contents:.
CORBA::Object_ptr create_object (const CosLifeCycle::Key &k, const CosLifeCycle::Criteria &the_criteria)
CORBA::Boolean is_alive ()
 'ping' method inherited from FT::PullMonitorable.
CosEventChannelAdmin::EventChannel_ptr create_channel (const char *channel_name)
 DO NOT USE.
CosEventChannelAdmin::EventChannel_ptr join_channel (const char *channel_name)
 DO NOT USE.
 EventChannelFactory_i (const PersistNode &node)
 Builds an EventChannelFactory_i from the parsed logfile data.
virtual ~EventChannelFactory_i ()
PersistNodeparseCriteria (const CosLifeCycle::Criteria &criteria) const
 Convert CosLifeCycle::Criteria into a PersistNode.
CosLifeCycle::Criteria extract (const char *name, const CosLifeCycle::Criteria &from) const
 Utility function: constructs a Criteria that contains a single criterion.
void output (ostream &os)

Private Attributes

unsigned int _port
 The EventChannelFactory listens on this TCP port.
string _endPointNoListen
 Stores the value of the endPointNoListen ORB parameter.
EventChannelStore _channels


Detailed Description

Definition at line 52 of file EventChannelFactory.h.


Constructor & Destructor Documentation

OmniEvents::EventChannelFactory_i::EventChannelFactory_i ( const PersistNode node  ) 

Builds an EventChannelFactory_i from the parsed logfile data.

Definition at line 47 of file EventChannelFactory.cc.

References _channels, OmniEvents::PersistNode::_child, OmniEvents::EventChannel_i::activate(), and OmniEvents::Servant::activateObjectWithId().

OmniEvents::EventChannelFactory_i::~EventChannelFactory_i (  )  [virtual]

Definition at line 68 of file EventChannelFactory.cc.

References DB.


Member Function Documentation

CORBA::Boolean OmniEvents::EventChannelFactory_i::supports ( const CosLifeCycle::Key &  k  ) 

Returns true if the key passed has the following contents:.

Definition at line 75 of file EventChannelFactory.cc.

CORBA::Object_ptr OmniEvents::EventChannelFactory_i::create_object ( const CosLifeCycle::Key &  k,
const CosLifeCycle::Criteria &  the_criteria 
)

Definition at line 87 of file EventChannelFactory.cc.

References _channels, OmniEvents::newUniqueId(), and parseCriteria().

Referenced by create_channel().

CORBA::Boolean OmniEvents::EventChannelFactory_i::is_alive (  )  [inline]

'ping' method inherited from FT::PullMonitorable.

Definition at line 70 of file EventChannelFactory.h.

CosEventChannelAdmin::EventChannel_ptr OmniEvents::EventChannelFactory_i::create_channel ( const char *  channel_name  ) 

DO NOT USE.

Only for OpenOrb compatibility.

Definition at line 128 of file EventChannelFactory.cc.

References create_object(), DB, IFELSE_OMNIORB4, and STR_MATCH.

CosEventChannelAdmin::EventChannel_ptr OmniEvents::EventChannelFactory_i::join_channel ( const char *  channel_name  ) 

DO NOT USE.

Only for OpenOrb compatibility.

Definition at line 172 of file EventChannelFactory.cc.

References OmniEvents::Orb::_omniINSPOA, DB, IFELSE_OMNIORB4, and OmniEvents::Orb::inst().

PersistNode * OmniEvents::EventChannelFactory_i::parseCriteria ( const CosLifeCycle::Criteria &  criteria  )  const

Convert CosLifeCycle::Criteria into a PersistNode.

The caller is responsible for deleting the result.

Definition at line 197 of file EventChannelFactory.cc.

References DB, and extract().

Referenced by create_object().

CosLifeCycle::Criteria OmniEvents::EventChannelFactory_i::extract ( const char *  name,
const CosLifeCycle::Criteria &  from 
) const

Utility function: constructs a Criteria that contains a single criterion.

Used to generate Invalid Criteria exceptions.

Definition at line 293 of file EventChannelFactory.cc.

Referenced by parseCriteria().

void OmniEvents::EventChannelFactory_i::output ( ostream &  os  ) 

Definition at line 314 of file EventChannelFactory.cc.

References _channels, _endPointNoListen, _port, and OmniEvents::EventChannelStore::output().

Referenced by OmniEvents::omniEventsLog::output().


Member Data Documentation

unsigned int OmniEvents::EventChannelFactory_i::_port [private]

The EventChannelFactory listens on this TCP port.

Equivalent to ORB parameter: endPoint = giop:::<_port>

Definition at line 107 of file EventChannelFactory.h.

Referenced by output().

string OmniEvents::EventChannelFactory_i::_endPointNoListen [private]

Stores the value of the endPointNoListen ORB parameter.

omniORB4 allows us to encode backup server addresses into our object references.

Definition at line 112 of file EventChannelFactory.h.

Referenced by output().

EventChannelStore OmniEvents::EventChannelFactory_i::_channels [private]

Definition at line 114 of file EventChannelFactory.h.

Referenced by create_object(), EventChannelFactory_i(), and output().


The documentation for this class was generated from the following files:
Generated on Tue Jan 29 04:19:54 2008 for OmniEvents by  doxygen 1.5.4