//File: DAISServer.idl // Change history // HDAIS FTF 6415 2004-09-09 Conformance options supported #ifndef _DAIS_SERVER_IDL #define _DAIS_SERVER_IDL #pragma prefix "omg.org" #include #include module DAIS { enum ServerState { SERVER_STATE_RUNNING, SERVER_STATE_FAILED, SERVER_STATE_NOCONFIG, SERVER_STATE_SUSPENDED, SERVER_STATE_TEST }; struct ServerStatus { DateTime start_time; DateTime current_time; ServerState server_state; unsigned long session_count; unsigned long major_version; unsigned long minor_version; unsigned long build_number; string vendor_info; }; interface Inspection {}; interface Server { exception DuplicateName {string reason;}; exception InvalidView {string reason;}; readonly attribute ServerStatus status; readonly attribute SupportedFunctions supported_functions; //6415 DataAccess::Session create_data_access_session( in string session_name ) raises (DuplicateName); DataAccess::Session create_data_access_session_for_view( in string session_name, in string view_name ) raises (DuplicateName, InvalidView); AlarmsAndEvents::Session create_alarms_and_events_session( in string session_name ) raises (DuplicateName); AlarmsAndEvents::Session create_alarms_and_events_session_for_view( in string session_name, in string view_name ) raises (DuplicateName, InvalidView); Strings find_views(); Inspection inspect(); };}; #endif // _DAIS_SERVER_IDL