Updated Communication (markdown)

master
Petr Stefan 9 years ago
parent a431a724eb
commit 1af5577dff

@ -182,7 +182,7 @@ There are no plans yet to support deleting files from this API. This may change
## Monitor - Browser communication ## Monitor - Browser communication
Monitor interacts with browser through WebSocket connection. Monitor acts as server and browsers are connecting to it. IP address and port are also configurable. When client connects to the monitor, it sends a message with string representation of channel id (which messages are interested in, usually id of evaluating job). There can be at most one listener per channel, latter connection replaces previous one. After establishing the connection, the message "Connection established" is sent from monitor to browser. Monitor interacts with browser through WebSocket connection. Monitor acts as server and browsers are connecting to it. IP address and port are also configurable. When client connects to the monitor, it sends a message with string representation of channel id (which messages are interested in, usually id of evaluating job). There can be at most one listener per channel, latter connection replaces previous one.
When monitor receives "progress" message from broker there are two options: When monitor receives "progress" message from broker there are two options:

Loading…
Cancel
Save