#include <EventChannelFactory.h>
Inheritance diagram for OmniEvents::EventChannelFactory_i:


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. | |
| 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) |
Private Attributes | |
| unsigned int | _port |
| The EventChannelFactory listens on this TCP port. | |
| string | _endPointNoListen |
| Stores the value of the endPointNoListen ORB parameter. | |
| EventChannelStore | _channels |
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, and OmniEvents::Servant::activateObjectWithId().
| CosEventChannelAdmin::EventChannel_ptr OmniEvents::EventChannelFactory_i::create_channel | ( | const char * | channel_name | ) |
DO NOT USE.
Only for OpenOrb compatibility.
Definition at line 125 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 82 of file EventChannelFactory.cc.
References _channels, OmniEvents::newUniqueId(), and parseCriteria().
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 290 of file EventChannelFactory.cc.
Referenced by parseCriteria().
| CORBA::Boolean OmniEvents::EventChannelFactory_i::is_alive | ( | ) | [inline] |
'ping' method inherited from FT::PullMonitorable.
Definition at line 69 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 169 of file EventChannelFactory.cc.
References OmniEvents::Orb::_omniINSPOA, DB, IFELSE_OMNIORB4, and OmniEvents::Orb::inst().
| void OmniEvents::EventChannelFactory_i::output | ( | ostream & | os | ) |
Definition at line 311 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 194 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 70 of file EventChannelFactory.cc.
Definition at line 112 of file EventChannelFactory.h.
Referenced by create_object(), EventChannelFactory_i(), and 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 110 of file EventChannelFactory.h.
Referenced by output().
unsigned int OmniEvents::EventChannelFactory_i::_port [private] |
The EventChannelFactory listens on this TCP port.
Equivalent to ORB parameter: endPoint = giop:::<_port>
Definition at line 105 of file EventChannelFactory.h.
Referenced by output().
1.4.7