6 #ifndef __EVENT_ALARMMANAGER_IDL__
7 #define __EVENT_ALARMMANAGER_IDL__
18 constant
int NO_ERROR = 0;
19 constant
int ERR_UNKNOWN_ALARM_ID = 1;
20 constant
int ERR_EXECUTING_ACTIONS = 2;
AlarmManager interface.
Definition: AlarmManager.idl:15
vector< Alarm > listAlarms()
List alarms that need to be acknowledged.
int acknowledgeAlarm(in string alarmId)
Acknowledges an alarm.
Basic IDL definitions.
Definition: Event.idl:10
Existing alarm acknowledgement event.
Definition: AlarmManager.idl:67
string alarmId
Alarm id of acknowledged alarm.
Definition: AlarmManager.idl:68
New alarm added event.
Definition: AlarmManager.idl:53
Alarm alarm
Newly added alarm.
Definition: AlarmManager.idl:54
Alarm updated event.
Definition: AlarmManager.idl:60
Alarm alarm
Updated alarm.
Definition: AlarmManager.idl:61
Alarm structure.
Definition: AlarmManager.idl:43
string id
Alarm id.
Definition: AlarmManager.idl:44
string actionId
Corresponding action id.
Definition: AlarmManager.idl:46
vector< Alert > alerts
List of alerts.
Definition: AlarmManager.idl:47
string name
Alarm name.
Definition: AlarmManager.idl:45
Alert structure.
Definition: AlarmManager.idl:29
int numberAlerts
Number of alerts.
Definition: AlarmManager.idl:34
string eventCondition
Event condition.
Definition: AlarmManager.idl:30
time lastAppearance
Date & time of last appearance (UNIX timestamp, UTC)
Definition: AlarmManager.idl:33
string message
Log message.
Definition: AlarmManager.idl:31
time firstAppearance
Date & time of first appearance (UNIX timestamp, UTC)
Definition: AlarmManager.idl:32
Common base for all events.
Definition: Event.idl:13