//File: DAISAEIO.idl // Change history // DAIS RTF 1.1 7086 2004-09-09 Reason is renamed to Category #ifndef _DAIS_AEIO_IDL #define _DAIS_AEIO_IDL #pragma prefix "omg.org" #include module DAIS { module AlarmsAndEvents { module IO { typedef unsigned long ChangeSpec; const ChangeSpec CHANGE_ACTIVE_STATE = 0x0001; const ChangeSpec CHANGE_ACK_STATE = 0x0002; const ChangeSpec CHANGE_ENABLE_STATE = 0x0004; const ChangeSpec CHANGE_QUALITY = 0x0008; const ChangeSpec CHANGE_SEVERITY = 0x0010; const ChangeSpec CHANGE_CONDITION = 0x0020; const ChangeSpec CHANGE_MESSAGE = 0x0040; const ChangeSpec CHANGE_ATTRIBUTE = 0x0080; struct SimpleEvent { ResourceID source; string source_pathname; DateTime time_stamp; string message; EventFormat event_format; //7086 ResourceID category; //7086 string category_name; //7086 unsigned long severity; PropertyValues property_values; }; struct TrackingEvent { string actor_name; }; struct ConditionEvent { string condition_space_name; ResourceID condition_space; string condition_name; unsigned long condition_number; boolean ack_required; DateTime active_time; EventID event_id; ChangeSpec change_specification; SourceConditionOpState source_condition_op_state; Quality dais_quality; }; struct Event { SimpleEvent simple_event; TrackingEvent tracking_event; ConditionEvent condition_event; }; typedef sequence Events; interface Callback { void on_event ( in boolean refresh, in boolean last_refresh, in Events the_events ); void on_read_complete ( in Events the_events, in unsigned long transaction_id ); }; };};}; #endif // _DAIS_AEIO_IDL