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 WebSocketFactorypublic WebSocket createWebSocket(WebSocketAdapter a, List<Draft> d, Socket s)
createWebSocket in interface WebSocketFactorypublic ByteChannel wrapChannel(SocketChannel channel, SelectionKey c, String host, int port)
wrapChannel in interface WebSocketClient.WebSocketClientFactoryCopyright © 2013. All Rights Reserved.