Apama Connectivity with Device Integration Platform Documentation 10.0 : Event Protocols : Device Events
Device Events
The com.apama.dip.Device events are sent to the com.apama.dip.Device.CHANNEL that is dip.devices when onApplicationInitialized() is called (unless requestAllDevices is set to false in the DeviceIntegrationPlatform.yaml file). After all assets are sent, the com.apama.dip.RequestAllDevicesComplete(-1) event is sent.
Example of a device event:
com.apama.dip.Device("12346084","RaspPi BCM2709 0000000071d36506
Display ofV","c8y_TinkerForge_Display","",["c8y_Message","c8y_Relay"],
[],[],{"attrs.c8y_Hardware":"c8y.Hardware@fc2f1534",
"attrs.c8y_Message":"c8y.Message@e6ffa71a","attrs.c8y_Relay":"Relay{relayState=OPEN}",
"attrs.c8y_SupportedOperations":"[c8y_Message,
c8y_Relay]","owner":"device_0000000071d36506",
"supportedOperations":"[\"c8y_Message\",\"c8y_Relay\"]"})
Any device added after applicationInitialized is called is sent to the default channel (unless subscribeToDevices is set to false in the DeviceIntegrationPlatform.yaml file).
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback