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 May 7, 2015
·
5 revisions
Modules using Socket.io
Webserver - Port 8000
Doge Hub <-> Chart Web Page - Port 3000
Routing Processor (RP) <-> vis.js based Network Graph Web Page - Port 4000
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' and the vis.js based browser will join as 'browsersock'
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.