00001 /*------------------------------------------------------------------------------ 00002 Name: I_ConnectionProblems.h 00003 Project: xmlBlaster.org 00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file 00005 Comment: Helper to easy get the callback messages 00006 ------------------------------------------------------------------------------*/ 00007 00017 #ifndef _CLIENT_ICONNECTIONPROBLEMS_H 00018 #define _CLIENT_ICONNECTIONPROBLEMS_H 00019 00020 #include <util/dispatch/I_ConnectionsHandler.h> 00021 //namespace org { namespace xmlBlaster { namespace util { namespace dispatch { 00022 // class I_ConnectionsHandler; 00023 //}}}} 00024 00025 namespace org { namespace xmlBlaster { namespace client { 00026 00027 typedef enum org::xmlBlaster::util::dispatch::States StatesEnum; 00028 00029 class Dll_Export I_ConnectionProblems 00030 { 00031 public: 00032 virtual ~I_ConnectionProblems() {} 00033 00043 virtual bool reachedAlive( 00044 org::xmlBlaster::client::StatesEnum oldState, 00045 org::xmlBlaster::util::dispatch::I_ConnectionsHandler* connectionsHandler) = 0; 00046 00052 virtual void reachedDead( 00053 org::xmlBlaster::client::StatesEnum oldState, 00054 org::xmlBlaster::util::dispatch::I_ConnectionsHandler* connectionsHandler) = 0; 00055 00060 virtual void reachedPolling( 00061 org::xmlBlaster::client::StatesEnum oldState, 00062 org::xmlBlaster::util::dispatch::I_ConnectionsHandler* connectionsHandler) = 0; 00063 00064 }; 00065 00066 }}} // namespace 00067 00068 #endif 00069 00070 00071