| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. Allows to shutdown the websocket factory for a clean shutdown |
| public WebSocketImpl | createWebSocket(WebSocketAdapter a, Draft d)
Implements org. Create a new Websocket with the provided listener, drafts and socket |
| public WebSocketImpl | createWebSocket(WebSocketAdapter a, List<Draft> d)
Implements org. Create a new Websocket with the provided listener, drafts and socket |
| public SocketChannel | wrapChannel(SocketChannel channel, SelectionKey key)
Implements org. Allows to wrap the SocketChannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer. |
| DefaultWebSocketServerFactory | back to summary |
|---|---|
| public DefaultWebSocketServerFactory() | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Allows to shutdown the websocket factory for a clean shutdown
| |
| createWebSocket | back to summary |
|---|---|
| public WebSocketImpl createWebSocket(WebSocketAdapter a, Draft d) Implements 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> d) Implements org. Doc from org. Create a new Websocket with the provided listener, drafts and socket
| |
| wrapChannel | back to summary |
|---|---|
| public SocketChannel wrapChannel(SocketChannel channel, SelectionKey key) Implements org. Doc from org. Allows to wrap the SocketChannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer.
| |