Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
AlarmManager interface. More...
Classes | |
struct | Alarm |
Alarm structure. More... | |
struct | AlarmAcknowledgedEvent |
Existing alarm acknowledgement event. More... | |
struct | AlarmAddedEvent |
New alarm added event. More... | |
struct | AlarmUpdatedEvent |
Alarm updated event. More... | |
struct | Alert |
Alert structure. More... | |
Public Member Functions | |
int | acknowledgeAlarm (in string alarmId) |
Acknowledges an alarm. More... | |
vector< Alarm > | listAlarms () |
List alarms that need to be acknowledged. | |
Public Attributes | |
constant int | NO_ERROR = 0 |
Error codes. More... | |
constant int | ERR_UNKNOWN_ALARM_ID = 1 |
unknown alarmId More... | |
constant int | ERR_EXECUTING_ACTIONS = 2 |
failure during executing actions More... | |
AlarmManager interface.
Definition at line 15 of file AlarmManager.idl.
int event::AlarmManager::acknowledgeAlarm | ( | in string | alarmId | ) |
Acknowledges an alarm.
This stops notification sending and will remove the specified alarm from the alarm list.
alarmId | alarm id |
constant int event::AlarmManager::ERR_EXECUTING_ACTIONS = 2 |
failure during executing actions
Definition at line 20 of file AlarmManager.idl.
constant int event::AlarmManager::ERR_UNKNOWN_ALARM_ID = 1 |
unknown alarmId
Definition at line 19 of file AlarmManager.idl.
constant int event::AlarmManager::NO_ERROR = 0 |