it_bus_services/session_state_callback.h

00001 #ifndef _IT_BUS_SERVICES_SESSION_STATE_CALLBACK_H_
00002 #define _IT_BUS_SERVICES_SESSION_STATE_CALLBACK_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #if !defined(IT_WS_SM_ENDPOINT_MGR_API)
00008 #if defined(IT_WS_SM_ENDPOINT_MGR_API_EXPORT)
00009 #define IT_WS_SM_ENDPOINT_MGR_API    IT_DECLSPEC_EXPORT
00010 #else
00011 #define IT_WS_SM_ENDPOINT_MGR_API    IT_DECLSPEC_IMPORT
00012 #endif
00013 #endif
00014 
00015 
00016 #include <it_bus/types.h>
00017 
00018 namespace IT_Bus_Services
00019 {
00020     namespace IT_SessionManager 
00021     {
00037         class IT_WS_SM_ENDPOINT_MGR_API SessionStateCallback
00038         {
00039           public:
00040     
00049             virtual void
00050             session_established(
00051                 const IT_Bus::String & group_id,
00052                 const IT_Bus::String & session_id
00053             ) = 0;
00054     
00063             virtual void
00064             session_ended(
00065                 const IT_Bus::String & group_id,
00066                 const IT_Bus::String & session_id
00067             ) = 0;
00068     
00077             virtual void
00078             session_expired(
00079                 const IT_Bus::String & group_id,
00080                 const IT_Bus::String & session_id
00081             ) = 0;
00082     
00083           protected:
00084             SessionStateCallback() {}
00085             virtual ~SessionStateCallback();
00086         };
00087     }
00088 }
00089 
00090 #endif  

Generated on Tue Mar 20 15:27:53 2007 for Artix by  doxygen 1.5.1-p1