This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* SocketManager - Singleton to manage multi-channel socket 'routing', need a way to merge with socket.io so client sessions aren't stored twice in memory, | |
* | |
* Requires Socket.IO-node and Socket.IO client libraries. | |
* | |
* Usage: | |
* in your main app.js file (or whereever you create the server) | |
* | |
* var io = require('socket.io'), | |
* sm = require('socketmanager'); |