com.apama.cumulocity
Event Event


Event data.

Sent by the transport when a device or other application creates an Event, or updates an Event. Requires SubscribeMeasurements or configuration property subscribeToAllMeasurements. Sent to the cumulocity.measurements channel.

Examples:
 Event("21","c8y_EntranceEvent","12346082",1464364483.396,"Entrance event triggered.",{"distance":any(float,317)}) 
Event("22","com_cumulocity_events_TamperEvent","12345",1464364483.396,"Tamper sensor triggered",{"history":{}})

Constant Summary
 constant stringCHANNEL := "CumulocityIoT"

The channel for sending updates/ new Events to.
 
Member Summary
 stringid

Unique identifier for this Event.
 stringtype

The type of the Cumulocity event.
 stringsource

Identifier of the source of the event.
 floattime

Timestamp of the event.
 stringtext

Text or message of the Event.
 dictionary<string, any >params

Any other properties available on the Event .
 
Constant Detail

CHANNEL

constant string CHANNEL := "CumulocityIoT"
The channel for sending updates/ new Events to.
Member Detail

id

string id
Unique identifier for this Event.

Supply as empty if creating a new Event.

params

dictionary<string, any > params
Any other properties available on the Event .

source

string source
Identifier of the source of the event.

text

string text
Text or message of the Event.

time

float time
Timestamp of the event.

type

string type
The type of the Cumulocity event.