com.apama.cumulocity
Event Operation
An operation to send to a device.
Examples: send Operation("12345","deviceId", "PENDING", {"c8y_Meassage":{"text":"Hello Cumulocity device"}}) to Operation.CHANNEL;
send Operation("12345","deviceId", "PENDING", {"c8y_RelayArray":["CLOSED","OPEN","CLOSED","OPEN"]}) to Operation.CHANNEL;
send Operation("12345", "deviceId", "PENDING", {"c8y_Meassage":{"text":"Hello cumulocity"},"c8y_Relay":{"relayState":"CLOSED"}}) to Operation.CHANNEL;
Constant Summary |
constant string | CHANNEL := "CumulocityIoT"
Channel to send the events to. |
Member Summary |
string | id
Unique identifier for this Operation. |
string | source
Identifier of the ManagedObject to send the operation to. |
string | status
Status of the operation : one of SUCCESSFUL, FAILED, EXECUTING or PENDING. |
dictionary<string, any > | params
Any extra parameters available on the Operation. |
CHANNEL
constant string CHANNEL := "CumulocityIoT"
Channel to send the events to.
id
string id
Unique identifier for this Operation.
Supply as empty if creating a new Operation
params
dictionary<string, any > params
Any extra parameters available on the Operation.
source
string source
Identifier of the ManagedObject to send the operation to.
status
string status
Status of the operation : one of SUCCESSFUL, FAILED, EXECUTING or PENDING.