org::xmlBlaster::util::dispatch::I_ConnectionsHandler Class Reference

Inheritance diagram for org::xmlBlaster::util::dispatch::I_ConnectionsHandler:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::util::dispatch::I_ConnectionsHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~I_ConnectionsHandler ()
virtual long flushQueue ()=0
 Flushes all entries in the queue, i.e.
virtual org::xmlBlaster::util::queue::I_QueuegetQueue ()=0
 gets a pointer to the queue used.
virtual bool isFailsafe ()=0
 Returns true if the connection is in failsafe mode.
virtual bool isConnected ()=0
virtual org::xmlBlaster::util::qos::ConnectReturnQosRef connectRaw (org::xmlBlaster::util::qos::ConnectQosRef &connectQos)=0
virtual org::xmlBlaster::client::protocol::I_XmlBlasterConnectiongetConnection ()=0
virtual org::xmlBlaster::util::qos::ConnectReturnQosRef getConnectReturnQos ()=0
virtual org::xmlBlaster::util::qos::ConnectQosRef getConnectQos ()=0

Detailed Description

Definition at line 31 of file I_ConnectionsHandler.h.


Constructor & Destructor Documentation

virtual org::xmlBlaster::util::dispatch::I_ConnectionsHandler::~I_ConnectionsHandler (  )  [virtual]

Definition at line 34 of file I_ConnectionsHandler.h.


Member Function Documentation

virtual long org::xmlBlaster::util::dispatch::I_ConnectionsHandler::flushQueue (  )  [pure virtual]

Flushes all entries in the queue, i.e.

the entries of the queue are sent to xmlBlaster. If the queue is empty or NULL, then 0 is returned. If the state is in POLLING or DEAD, then -1 is returned.. This method blocks until all entries in the queue have been sent.

Implemented in org::xmlBlaster::util::dispatch::ConnectionsHandler.

virtual org::xmlBlaster::util::queue::I_Queue* org::xmlBlaster::util::dispatch::I_ConnectionsHandler::getQueue (  )  [pure virtual]

gets a pointer to the queue used.

Implemented in org::xmlBlaster::util::dispatch::ConnectionsHandler.

Referenced by HelloWorld2::reachedAlive(), and HelloWorld2::reachedPolling().

virtual bool org::xmlBlaster::util::dispatch::I_ConnectionsHandler::isFailsafe (  )  [pure virtual]

Returns true if the connection is in failsafe mode.

You can activate this mode by invoking initFailsafe in org::xmlBlaster::client::XmlBlasterAccess.

Implemented in org::xmlBlaster::util::dispatch::ConnectionsHandler.

virtual bool org::xmlBlaster::util::dispatch::I_ConnectionsHandler::isConnected (  )  [pure virtual]

Implemented in org::xmlBlaster::util::dispatch::ConnectionsHandler.

virtual org::xmlBlaster::util::qos::ConnectReturnQosRef org::xmlBlaster::util::dispatch::I_ConnectionsHandler::connectRaw ( org::xmlBlaster::util::qos::ConnectQosRef connectQos  )  [pure virtual]

Implemented in org::xmlBlaster::util::dispatch::ConnectionsHandler.

Referenced by org::xmlBlaster::util::queue::ConnectQueueEntry::send().

virtual org::xmlBlaster::client::protocol::I_XmlBlasterConnection& org::xmlBlaster::util::dispatch::I_ConnectionsHandler::getConnection (  )  [pure virtual]

Implemented in org::xmlBlaster::util::dispatch::ConnectionsHandler.

Referenced by org::xmlBlaster::util::queue::UnSubscribeQueueEntry::send(), org::xmlBlaster::util::queue::SubscribeQueueEntry::send(), org::xmlBlaster::util::queue::PublishQueueEntry::send(), and org::xmlBlaster::util::queue::EraseQueueEntry::send().

virtual org::xmlBlaster::util::qos::ConnectReturnQosRef org::xmlBlaster::util::dispatch::I_ConnectionsHandler::getConnectReturnQos (  )  [pure virtual]

Implemented in org::xmlBlaster::util::dispatch::ConnectionsHandler.

Referenced by SubscribeDemo::reachedAlive().

virtual org::xmlBlaster::util::qos::ConnectQosRef org::xmlBlaster::util::dispatch::I_ConnectionsHandler::getConnectQos (  )  [pure virtual]

Implemented in org::xmlBlaster::util::dispatch::ConnectionsHandler.


The documentation for this class was generated from the following file: