public class DefaultWebSocketClientFactory extends Object implements WebSocketClient.WebSocketClientFactory
Constructor and Description |
---|
DefaultWebSocketClientFactory(WebSocketClient webSocketClient) |
Modifier and Type | Method and Description |
---|---|
WebSocket |
createWebSocket(WebSocketAdapter a,
Draft d,
Socket s) |
WebSocket |
createWebSocket(WebSocketAdapter a,
List<Draft> d,
Socket s) |
ByteChannel |
wrapChannel(SocketChannel channel,
SelectionKey c,
String host,
int port) |
public DefaultWebSocketClientFactory(WebSocketClient webSocketClient)
webSocketClient
- public WebSocket createWebSocket(WebSocketAdapter a, Draft d, Socket s)
createWebSocket
in interface WebSocketFactory
public WebSocket createWebSocket(WebSocketAdapter a, List<Draft> d, Socket s)
createWebSocket
in interface WebSocketFactory
public ByteChannel wrapChannel(SocketChannel channel, SelectionKey c, String host, int port)
wrapChannel
in interface WebSocketClient.WebSocketClientFactory
Copyright © 2013. All Rights Reserved.