00001 #ifndef _IT_BUS_SERVICES_SESSION_ENDPOINT_MONITOR_H_
00002 #define _IT_BUS_SERVICES_SESSION_ENDPOINT_MONITOR_H_
00003
00004
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 #include <orbix_pdk/orb_plugin.hh>
00016 #include <it_bus_services/session_state_callback.h>
00017 #ifndef IT_MINIMISE_INCLUDES
00018 #include <it_bus/bus.h>
00019 #endif
00020
00021 namespace IT_Bus_Services
00022 {
00023 namespace IT_SessionManager
00024 {
00025 class IT_WS_SM_ENDPOINT_MGR_API SessionEndpointMonitor :
00026 public virtual CORBA::LocalObject
00027 {
00028 public:
00029 virtual bool
00030 is_valid_session(
00031 const IT_Bus::String & name,
00032 const IT_Bus::String & group
00033 ) = 0;
00034
00035 protected:
00036 SessionEndpointMonitor() {}
00037
00038 private:
00039
00040 SessionEndpointMonitor(const SessionEndpointMonitor&);
00041 void operator=(const SessionEndpointMonitor&);
00042 };
00043 }
00044 }
00045
00046 #endif