46 interface BaseMessage {
82 attribute
unsigned short zone;
87 attribute PropertyType?
type;
115 const MessageType
type =
"valuechanged";
141 const MessageType
type =
"method";
168 const MessageType
type =
"methodReply";
192 const MessageType
type =
"method";
197 const DOMString
name =
"getSupported";
211 const MessageType
type =
"methodReply";
216 const DOMString
name =
"getSupported";
236 const MessageType
type =
"methodReply";
241 const DOMString
name =
"getSupported";
261 const MessageType
type =
"method";
266 const DOMString
name =
"subscribe";
286 const MessageType
type =
"method";
291 const DOMString
name =
"subscribe";
312 const MessageType
type =
"method";
317 const DOMString
name =
"getRange";
327 attribute
unsigned short?
zone;
361 const MessageType
type =
"methodReply";
366 const DOMString
name =
"getRanged";
386 const MessageType
type =
"method";
414 interface SetPropertyReply : BaseMessage {
419 const MessageType
type =
"methodReply";
attribute Property data
data represents the new property value
Definition: protocol.idl:429
GetRangedReply - reply for GetRangedRequest The following is an example of this message: ...
Definition: protocol.idl:357
attribute Property[] data
data - array of properties supported by the system
Definition: protocol.idl:246
const MessageType type
message type
Definition: protocol.idl:168
Unsubscribe - unsubscribe request The following is an example of this message:
Definition: protocol.idl:281
const DOMString name
name of the method.
Definition: protocol.idl:317
const MessageType type
message type
Definition: protocol.idl:312
const DOMString name
name of this message. This represents the property name which changed in this message ...
Definition: protocol.idl:147
attribute DOMString[] data
data - properties to request
Definition: protocol.idl:322
attribute Property[] data
data - array of properties supported by the system
Definition: protocol.idl:221
const MessageType type
message type
Definition: protocol.idl:261
attribute Property data
data represents the value for the property indicated by 'name'
Definition: protocol.idl:126
attribute DOMString property
property to subscribe to
Definition: protocol.idl:271
attribute unsigned long sequenceBegin
sequenceBegin
Definition: protocol.idl:342
SupportedChanged - message occures when the system's supported properties changes NOTE: this message ...
Definition: protocol.idl:232
attribute unsigned double timestamp
timestamp
Definition: protocol.idl:92
const MessageType type
message type
Definition: protocol.idl:192
attribute Error error
error - error code
Definition: protocol.idl:439
attribute Property data
data represents property to get Property attributes type, timestamp, value, and sequence are ignored...
Definition: protocol.idl:153
attribute DOMString name
name of this message. This represents the property name which changed in this message ...
Definition: protocol.idl:121
const DOMString name
name of this methodReply.
Definition: protocol.idl:241
GetRangedRequest - request a range of logged properties The following is an example of this message: ...
Definition: protocol.idl:307
attribute unsigned short zone
zone, zone which this property is in
Definition: protocol.idl:82
const MessageType type
message type
Definition: protocol.idl:386
attribute unsigned double timeBegin
timeBegin in seconds since Unix Epoc
Definition: protocol.idl:332
attribute Property data
data represents the requested property value
Definition: protocol.idl:178
GetSupportedReply- reply for supported properties The following is an example of this message: ...
Definition: protocol.idl:207
GetPropertyRequest - request the value of a property The following is an example of this message: ...
Definition: protocol.idl:136
const DOMString name
name of the method.
Definition: protocol.idl:291
const MessageType type
message type
Definition: protocol.idl:286
const MessageType type
message type
Definition: protocol.idl:361
enum MessageType transactionid
transactionid, id for this transaction. For messages with responses, the transaction id is used to ma...
const DOMString name
name of the method.
Definition: protocol.idl:266
const MessageType type
message type
Definition: protocol.idl:141
GetPropertyReply - response to GetPropertyRequest The following is an example of this message: ...
Definition: protocol.idl:163
const DOMString name
name of this method.
Definition: protocol.idl:197
const MessageType type
message type
Definition: protocol.idl:211
const MessageType type
message type
Definition: protocol.idl:236
attribute DOMString value
value, value of the property
Definition: protocol.idl:77
const DOMString name
name of this methodReply.
Definition: protocol.idl:424
enum PropertyType property
Property represents an AMB property.
SetPropertyRequest - request to set a property The following is an example of this message: ...
Definition: protocol.idl:381
attribute boolean success
success - true if the set operation was successful
Definition: protocol.idl:434
const DOMString name
name of this methodReply.
Definition: protocol.idl:391
GetSupportedRequest - request supported properties The following is an example of this message: ...
Definition: protocol.idl:188
attribute unsigned double timeEnd
timeEnd in seconds since Unix Epoc
Definition: protocol.idl:337
attribute DOMString property
property to subscribe to
Definition: protocol.idl:296
attribute unsigned long sequence
sequence
Definition: protocol.idl:97
attribute Property data
data represents the new property value
Definition: protocol.idl:396
attribute PropertyType type
type - type of value
Definition: protocol.idl:87
const DOMString name
name of this methodReply.
Definition: protocol.idl:173
const DOMString name
name of this methodReply.
Definition: protocol.idl:366
attribute Property[] data
data - array of properties supported by the system
Definition: protocol.idl:371
Subscribe - subscribe request The following is an example of this message:
Definition: protocol.idl:256
const DOMString name
name of this methodReply.
Definition: protocol.idl:216
const MessageType type
message type
Definition: protocol.idl:115
attribute unsigned short zone
zone, zone which this property is in
Definition: protocol.idl:327
attribute unsigned long sequenceEnd
sequenceEnd
Definition: protocol.idl:347
ValueChanged is a message which is generated when a subscribed Property changes. Subscribe will cause...
Definition: protocol.idl:110