|
This event fires in a context when the context changes its status (also known as state). For example, in a Device context this event fires when the Device is connected and its context changes its status from "Offline" to "Online".
The Format for this event defines two fields:
| • | status: an Integer number indicating the new state for the context |
| • | comment: a String containing a human-readable description for the new state |
This event is defined in all AggreGate Server contexts that have different states. It is persistent, i.e. stored in event history.
Event Name
|
contextStatusChanged
|
Permissions:
|
Accessible at context's permission level
|
Records:
|
1
|
Record Format:
Field Name
|
Field Type
|
Notes
|
status
|
Integer
|
New context status.
|
comment
|
String
|
Description of current context status.
|
oldStatus
|
Integer
|
Previous context status.
|
|