Trees | Indices | Help |
---|
|
object --+ | streams.ReadStream --+ | object --+ | | | streams.WriteStream --+ | SockJSSocket
You interact with SockJS clients through instances of SockJS socket. The API is very similar to WebSocket. It implements both ReadStream and WriteStream so it can be used with Pump to enable flow control.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
When a SockJSSocket is created it automatically registers an event handler with the system, the ID of that handler is given by handler_id. Given this ID, a different event loop can send a buffer to that event handler using the event bus. This allows you to write data to other SockJSSockets which are owned by different event loops. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Jan 13 17:19:26 2013 | http://epydoc.sourceforge.net |