Public Member Functions | |
virtual | ~I_ConnectionProblems () |
virtual bool | reachedAlive (org::xmlBlaster::client::StatesEnum oldState, org::xmlBlaster::util::dispatch::I_ConnectionsHandler *connectionsHandler)=0 |
This is the callback method invoked from org::xmlBlaster::util::dispatch::ConnectionsHandler notifying the client that a connection has been established and that its status is now ALIVE. | |
virtual void | reachedDead (org::xmlBlaster::client::StatesEnum oldState, org::xmlBlaster::util::dispatch::I_ConnectionsHandler *connectionsHandler)=0 |
This is the callback method invoked from org::xmlBlaster::util::dispatch::ConnectionsHandler informing the client that the connection was lost (i.e. | |
virtual void | reachedPolling (org::xmlBlaster::client::StatesEnum oldState, org::xmlBlaster::util::dispatch::I_ConnectionsHandler *connectionsHandler)=0 |
This is the callback method invoked from org::xmlBlaster::util::dispatch::ConnectionsHandler informing the client that the connection state has changed to POLLING. |
Definition at line 29 of file I_ConnectionProblems.h.
virtual org::xmlBlaster::client::I_ConnectionProblems::~I_ConnectionProblems | ( | ) | [virtual] |
Definition at line 32 of file I_ConnectionProblems.h.
virtual bool org::xmlBlaster::client::I_ConnectionProblems::reachedAlive | ( | org::xmlBlaster::client::StatesEnum | oldState, | |
org::xmlBlaster::util::dispatch::I_ConnectionsHandler * | connectionsHandler | |||
) | [pure virtual] |
This is the callback method invoked from org::xmlBlaster::util::dispatch::ConnectionsHandler notifying the client that a connection has been established and that its status is now ALIVE.
It has a bool return which informs the org::xmlBlaster::util::dispatch::ConnectionsHandler what to do with the entries in the queue. If you return 'true', then the queue is flushed (i.e. the contents of the queue are sent to xmlBlaster). If you return 'false', then the contents of the queue are left untouched. You can then erase all entries manually. Note that this method is invoked also when the connection has been established the first time.
Implemented in org::xmlBlaster::test::TestFailsafe, HelloWorld2, SpecificCallback, SubscribeDemo, and TestEmptyContent.
Referenced by org::xmlBlaster::util::dispatch::ConnectionsHandler::connect(), and org::xmlBlaster::util::dispatch::ConnectionsHandler::timeout().
virtual void org::xmlBlaster::client::I_ConnectionProblems::reachedDead | ( | org::xmlBlaster::client::StatesEnum | oldState, | |
org::xmlBlaster::util::dispatch::I_ConnectionsHandler * | connectionsHandler | |||
) | [pure virtual] |
This is the callback method invoked from org::xmlBlaster::util::dispatch::ConnectionsHandler informing the client that the connection was lost (i.e.
when the state of the connectionsHandler has gone to DEAD).
Implemented in org::xmlBlaster::test::TestFailsafe, HelloWorld2, SpecificCallback, SubscribeDemo, and TestEmptyContent.
Referenced by org::xmlBlaster::util::dispatch::ConnectionsHandler::disconnect(), org::xmlBlaster::util::dispatch::ConnectionsHandler::timeout(), and org::xmlBlaster::util::dispatch::ConnectionsHandler::toPollingOrDead().
virtual void org::xmlBlaster::client::I_ConnectionProblems::reachedPolling | ( | org::xmlBlaster::client::StatesEnum | oldState, | |
org::xmlBlaster::util::dispatch::I_ConnectionsHandler * | connectionsHandler | |||
) | [pure virtual] |
This is the callback method invoked from org::xmlBlaster::util::dispatch::ConnectionsHandler informing the client that the connection state has changed to POLLING.
Implemented in org::xmlBlaster::test::TestFailsafe, HelloWorld2, SpecificCallback, SubscribeDemo, and TestEmptyContent.
Referenced by org::xmlBlaster::util::dispatch::ConnectionsHandler::queueConnect(), and org::xmlBlaster::util::dispatch::ConnectionsHandler::toPollingOrDead().