etherpad-lite/doc/jsdoc/handler/SocketIORouter.md
Peter 'Pita' Martischka 0772f6bb4e updated documentation
2011-07-30 17:25:54 +01:00

23 lines
525 B
Markdown

# handler/Socket
`require("./handler/SocketIORouter");`
This is the Socket.IO Router. It routes the Messages between the
components of the Server. The components are at the moment: pad and timeslider
## Functions
- - -
### addComponent (moduleName, module)
Saves all components
key is the component name
value is the component module
* **moduleName** *No description*
* **module** *No description*
- - -
### setSocketIO (_socket)
sets the socket.io and adds event functions for routing
* **_socket** *No description*