automotive-message-broker
0.13.1
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Variables
Pages
docs
protocol.idl
Go to the documentation of this file.
1
39
enum
MessageType {
40
"method"
,
41
"methodReply"
,
42
"valuechanged"
43
}
44
45
46
interface
BaseMessage {
47
51
attribute DOMString
transactionid
;
52
}
53
54
enum
PropertyType {
55
"UInt16"
,
56
"UInt32"
,
57
"Int16"
,
58
"Int32"
,
59
"String"
,
60
"Double"
,
61
"Boolean"
62
}
63
67
interface
Property {
68
72
attribute DOMString?
property
;
73
77
attribute DOMString?
value
;
78
82
attribute
unsigned
short
zone
;
83
87
attribute PropertyType?
type
;
88
92
attribute
unsigned
double
?
timestamp
;
93
97
attribute
unsigned
long
?
sequence
;
98
}
99
110
interface
ValueChanged
: BaseMessage {
111
115
const
MessageType
type
=
"valuechanged"
;
116
121
attribute DOMString
name
;
122
126
attribute Property
data
;
127
}
128
136
interface
GetPropertyRequest
: BaseMessage {
137
141
const
MessageType
type
=
"method"
;
142
147
const
DOMString
name
=
"get"
;
148
153
attribute Property
data
;
154
}
155
163
interface
GetPropertyReply
: BaseMessage {
164
168
const
MessageType
type
=
"methodReply"
;
169
173
const
DOMString
name
=
"get"
;
174
178
attribute Property
data
;
179
}
180
188
interface
GetSupportedRequest
: BaseMessage {
192
const
MessageType
type
=
"method"
;
193
197
const
DOMString
name
=
"getSupported"
;
198
}
199
207
interface
GetSupportedReply
: BaseMessage {
211
const
MessageType
type
=
"methodReply"
;
212
216
const
DOMString
name
=
"getSupported"
;
217
221
attribute
double
systemTime
;
222
226
attribute Property[]
data
;
227
}
228
237
interface
SupportedChanged
: BaseMessage {
241
const
MessageType
type
=
"methodReply"
;
242
246
const
DOMString
name
=
"getSupported"
;
247
251
attribute Property[]
data
;
252
}
253
261
interface
Subscribe
: BaseMessage {
262
266
const
MessageType
type
=
"method"
;
267
271
const
DOMString
name
=
"subscribe"
;
272
276
attribute DOMString
property
;
277
}
278
286
interface
Unsubscribe
: BaseMessage {
287
291
const
MessageType
type
=
"method"
;
292
296
const
DOMString
name
=
"subscribe"
;
297
301
attribute DOMString
property
;
302
}
303
312
interface
GetRangedRequest
: BaseMessage {
313
317
const
MessageType
type
=
"method"
;
318
322
const
DOMString
name
=
"getRange"
;
323
327
attribute DOMString[]
data
;
328
332
attribute
unsigned
short
?
zone
;
333
337
attribute
unsigned
double
?
timeBegin
;
338
342
attribute
unsigned
double
?
timeEnd
;
343
347
attribute
unsigned
long
?
sequenceBegin
;
348
352
attribute
unsigned
long
?
sequenceEnd
;
353
}
354
362
interface
GetRangedReply
: BaseMessage {
366
const
MessageType
type
=
"methodReply"
;
367
371
const
DOMString
name
=
"getRanged"
;
372
376
attribute Property[]
data
;
377
}
378
386
interface
SetPropertyRequest
: BaseMessage {
387
391
const
MessageType
type
=
"method"
;
392
396
const
DOMString
name
=
"set"
;
397
401
attribute Property
data
;
402
}
403
404
enum
Error {
405
"NoError"
,
406
"Timeout"
,
407
"InvalidOperation"
,
408
"PermissionDenied"
,
409
"ZoneNotSupported"
410
}
411
419
interface
SetPropertyReply : BaseMessage {
420
424
const
MessageType
type
=
"methodReply"
;
425
429
const
DOMString
name
=
"set"
;
430
434
attribute Property
data
;
435
439
attribute
boolean
success
;
440
444
attribute Error
error
;
445
}
Generated by
1.8.2