OmniEvents
|
#include <EventChannelFactory.h>
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 () |
PersistNode * | parseCriteria (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) |
![]() | |
virtual PortableServer::POA_ptr | _default_POA () |
virtual | ~Servant () |
Private Attributes | |
unsigned int | _port |
The EventChannelFactory listens on this TCP port. | |
string | _endPointNoListen |
Stores the value of the endPointNoListen ORB parameter. | |
EventChannelStore | _channels |
Additional Inherited Members | |
![]() | |
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. | |
![]() | |
PortableServer::POA_var | _poa |
Definition at line 52 of file EventChannelFactory.h.
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().
|
virtual |
Definition at line 68 of file EventChannelFactory.cc.
References DB.
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.
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(), parseCriteria(), and supports().
Referenced by create_channel().
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().
|
inline |
'ping' method inherited from FT::PullMonitorable.
Definition at line 70 of file EventChannelFactory.h.
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().
Definition at line 314 of file EventChannelFactory.cc.
References _channels, _endPointNoListen, _port, and OmniEvents::EventChannelStore::output().
Referenced by OmniEvents::omniEventsLog::output().
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.
Referenced by create_object().
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.
Referenced by create_object().
|
private |
Definition at line 114 of file EventChannelFactory.h.
Referenced by create_object(), EventChannelFactory_i(), and output().
|
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().
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().