R5909934 /00
E2 Lite and EC-40
314
All subscriptions are lost once the Event Master processor is restarted, and they must be
subscribed again if required.
subscribe
•
Definition:
-
User can use this API to subscribe to change events in the Event Master processor.
-
Once subscribed, the API sends a notification in the form of an HTTP Post to the Url: http://hostname:
port/.
•
Request:
-
params:
{"hostname": hostname, "port": port, "notification" : notificationType
[]}
◦
hostname
—
Hostname or IP Address to which the notifications are sent.
◦
port
—
TCP port to which the notification are posted.
◦
notificationTypes
—
an array of notifications to which a user wants to subscribe.
◦
ScreenDestChanged
◦
AUXDestChanged
◦
FrameChanged
◦
NativeRateChanged
◦
InputCfgChanged
◦
SourceChanged
◦
BGSourceChanged
◦
PresetChanged
◦
StillChanged
◦
OutputCfgChanged
•
Response:
-
response:
{"method": "subscribe"}
-
success: (0=success, anything else is an error)
•
Example:
-
{"params": {"hostname" : "192.168.247.131", "port": "3000", "notification" :
["ScreenDestChanged", "AUXDestChanged"]}, "method":"subscribe", "id":"1234",
"jsonrpc":"2.0"}
unsubscribe
•
Definition:
-
User can use this API to remove the subscription for the given hostname, port, and notificationType.
•
Request:
-
params:
{"hostname": hostname, "port": port, "notification" : notificationType
[]}
◦
hostname
—
Hostname or IP Address from which the subscription is to be removed.
◦
port
—
TCP port.
◦
notificationTypes
—
an array of notifications to which a user wants to subscribe.
◦
ScreenDestChanged
◦
AUXDestChanged
◦
FrameChanged
◦
NativeRateChanged
◦
InputCfgChanged
◦
SourceChanged
◦
BGSourceChanged
◦
PresetChanged
◦
StillChanged
◦
OutputCfgChanged
•
Response:
-
response:
{"method": "unsubscribe"}
-
success: (0=success, anything else is an error)
•
Example:
-
{"params": {"hostname" : "192.168.247.131", "port": "3000", "notification" :
Summary of Contents for Event Master E2 Lite
Page 1: ...ENABLING BRIGHT OUTCOMES User s Guide E2 Lite and EC 40...
Page 10: ...R5909934 00 E2 Lite and EC 40 10...
Page 14: ...R5909934 00 E2 Lite and EC 40 14 Introduction...
Page 18: ...R5909934 00 E2 Lite and EC 40 18 Safety...
Page 32: ...R5909934 00 E2 Lite and EC 40 32 General...
Page 46: ...R5909934 00 E2 Lite and EC 40 46 Hardware orientation...
Page 168: ...R5909934 00 E2 Lite and EC 40 168 EM GUI orientation...
Page 208: ...R5909934 00 E2 Lite and EC 40 208 Controller Orientation...
Page 214: ...R5909934 00 E2 Lite and EC 40 214 Controller Configuration...
Page 220: ...R5909934 00 E2 Lite and EC 40 220 Controller Operation...
Page 284: ...R5909934 00 E2 Lite and EC 40 284 E2 Lite Maintenance...
Page 289: ...289 R5909934 00 E2 Lite and EC 40 Environmental Information 15...
Page 300: ...R5909934 00 E2 Lite and EC 40 300 Specifications...
Page 316: ...R5909934 00 E2 Lite and EC 40 316 Remote Control Protocol...
Page 317: ...317 R5909934 00 E2 Lite and EC 40 Troubleshooting C...
Page 320: ...R5909934 00 E2 Lite and EC 40 320 Troubleshooting...