You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tkmaker edited this page Apr 28, 2015
·
1 revision
Modules using Socket.io
Webserver
Routing Processor (RP)
vis.js based webpage
Messaging Protocol
The Routing Processor (RP) and the vis.js webpage will connect to the webserver socket and join as rooms/channels (See Reference below for information on rooms). The RP will join the room as 'rpsock'...
On network creation the Routing Processor will send a JSON message {'load_network', ...
For each user initiated action in the web browser, the client would send a JSON message of the format {'command': command_string, 'data': data_value} where the command_string and data_value depends on the user action.