Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
Event has a type: a STATE event indicates that a boolean state has been changed, i.e. More...
Public Types | |
enum | Type { STATE , TRIGGER } |
Event type. More... | |
Public Attributes | |
Type | type |
Event type. More... | |
vector< string > | id |
Event id vector. More... | |
boolean | asserted |
Assertion value. More... | |
time | timeStamp |
UNIX timestamp (UTC) More... | |
vector< KeyValue > | context |
Context map. More... | |
Event has a type: a STATE event indicates that a boolean state has been changed, i.e.
asserted or deasserted a TRIGGER event is one that has no state assigned. conceptually it is asserted and deasserted at once. The id has multiple components that form a path into a hierarchy. The value ("asserted") indicates whether the state has become true (assertion) or false (deassertion). For events of type TRIGGER this will be true always.
Definition at line 34 of file EventEngine.idl.
enum event::Event::Type |
Event type.
Enumerator | |
---|---|
STATE | State event. |
TRIGGER | Trigger event. |
Definition at line 37 of file EventEngine.idl.
boolean event::Event::asserted |
Assertion value.
Definition at line 44 of file EventEngine.idl.
vector<KeyValue> event::Event::context |
Context map.
Definition at line 46 of file EventEngine.idl.
vector<string> event::Event::id |
Event id vector.
Definition at line 43 of file EventEngine.idl.
time event::Event::timeStamp |
UNIX timestamp (UTC)
Definition at line 45 of file EventEngine.idl.
Type event::Event::type |
Event type.
Definition at line 42 of file EventEngine.idl.