automotive-message-broker  0.13
 All Classes Files Variables Pages
Public Attributes | List of all members
ValueChanged Interface Reference

ValueChanged is a message which is generated when a subscribed Property changes. Subscribe will cause this message to be generated. Unsubscribe stops this message. More...

import"protocol.idl";

Inheritance diagram for ValueChanged:
Inheritance graph
[legend]
Collaboration diagram for ValueChanged:
Collaboration graph
[legend]

Public Attributes

const MessageType type = "valuechanged"
 message type
 
attribute DOMString name
 name of this message. This represents the property name which changed in this message
 
attribute Property data
 data represents the value for the property indicated by 'name'
 

Detailed Description

ValueChanged is a message which is generated when a subscribed Property changes. Subscribe will cause this message to be generated. Unsubscribe stops this message.

See also
Subscribe
Unsubscribe The following is an example message for this interface:
{"type" : "valuechanged", "name" : "VehicleSpeed", "data" : {"value" : "217", "zone" : 0, 'type' : 'UInt16', "timestamp" : "1354521964.60253", "sequence" : "0"}, "transactionid" : "d293f670-f0b3-11e1-aff1-0800200c9a66" }

The documentation for this interface was generated from the following file: