| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public WebSocketImpl | createWebSocket(WebSocketAdapter a, Draft d)
Redeclares org. Create a new Websocket with the provided listener, drafts and socket |
| public WebSocketImpl | createWebSocket(WebSocketAdapter a, List<Draft> drafts)
Redeclares org. Create a new Websocket with the provided listener, drafts and socket |
| public ByteChannel | Returns: The channel on which the read and write operations will be performed.The SocketChannel to wrap channel, SelectionKey a SelectionKey of an open SocketChannel. key)Allows to wrap the SocketChannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer. |
| close | back to summary |
|---|---|
| public void close() Allows to shutdown the websocket factory for a clean shutdown | |
| createWebSocket | back to summary |
|---|---|
| public WebSocketImpl createWebSocket(WebSocketAdapter a, Draft d) Redeclares org. Doc from org. Create a new Websocket with the provided listener, drafts and socket
| |
| createWebSocket | back to summary |
|---|---|
| public WebSocketImpl createWebSocket(WebSocketAdapter a, List<Draft> drafts) Redeclares org. Doc from org. Create a new Websocket with the provided listener, drafts and socket
| |
| wrapChannel | back to summary |
|---|---|
| public ByteChannel wrapChannel(SocketChannel channel, SelectionKey key) throws IOException Allows to wrap the SocketChannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer.
| |