|
automotive-message-broker
0.14.803
|
this document describes the websocket protocol More...
Go to the source code of this file.
Classes | |
| interface | ValueChanged |
| 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... | |
| interface | GetPropertyRequest |
| GetPropertyRequest - request the value of a property The following is an example of this message: More... | |
| interface | GetPropertyReply |
| GetPropertyReply - response to GetPropertyRequest The following is an example of this message: More... | |
| interface | GetSupportedRequest |
| GetSupportedRequest - request supported properties The following is an example of this message: More... | |
| interface | GetSupportedReply |
| GetSupportedReply- reply for supported properties The following is an example of this message: More... | |
| interface | SupportedChanged |
| SupportedChanged - message occures when the system's supported properties changes NOTE: this message is not being generated in 0.13 The following is an example of this message: More... | |
| interface | Subscribe |
| Subscribe - subscribe request The following is an example of this message: More... | |
| interface | Unsubscribe |
| Unsubscribe - unsubscribe request The following is an example of this message: More... | |
| interface | GetRangedRequest |
| GetRangedRequest - request a range of logged properties The following is an example of this message: More... | |
| interface | GetRangedReply |
| GetRangedReply - reply for GetRangedRequest The following is an example of this message: More... | |
| interface | SetPropertyRequest |
| SetPropertyRequest - request to set a property The following is an example of this message: More... | |
Variables | |
| enum MessageType | transactionid |
| transactionid, id for this transaction. For messages with responses, the transaction id is used to match the request with the response. | |
| enum PropertyType | property |
| Property represents an AMB property. | |
| attribute DOMString | value |
| value, value of the property | |
| attribute unsigned short | zone |
| zone, zone which this property is in | |
| attribute PropertyType | type = "methodReply" |
| type - type of value | |
| attribute unsigned double | timestamp |
| timestamp | |
| attribute unsigned long | sequence |
| sequence | |
| const DOMString | name = "set" |
| name of this methodReply. | |
| attribute Property | data |
| data represents the new property value | |
| attribute boolean | success |
| success - true if the set operation was successful | |
| attribute Error | error |
| error - error code | |
this document describes the websocket protocol
Back to AMB Documentation Main
This document describes the AMB Websocket protocol. The messages are passed either as JSON or in binary format. The binary format is defined by the Qt project. The JSON format is described in protocol.idl.
For information about the using the plugin with AMB, see the plugin documentation
The following is an example of using the websocket protocol in html5. For a more complete example, see the html test.
| enum Error type = "methodReply" |
type - type of value
SetPropertyReply - reply for SetPropertyRequest The following is an example of this message:
message type
1.8.2