org.java_websocket.client
Class DefaultWebSocketClientFactory
java.lang.Object
org.java_websocket.client.DefaultWebSocketClientFactory
- All Implemented Interfaces:
- WebSocketClient.WebSocketClientFactory, WebSocketFactory
public class DefaultWebSocketClientFactory
- extends Object
- implements WebSocketClient.WebSocketClientFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWebSocketClientFactory
public DefaultWebSocketClientFactory(WebSocketClient webSocketClient)
- Parameters:
webSocketClient
-
createWebSocket
public WebSocket createWebSocket(WebSocketAdapter a,
Draft d,
Socket s)
- Specified by:
createWebSocket
in interface WebSocketFactory
createWebSocket
public WebSocket createWebSocket(WebSocketAdapter a,
List<Draft> d,
Socket s)
- Specified by:
createWebSocket
in interface WebSocketFactory
wrapChannel
public ByteChannel wrapChannel(SocketChannel channel,
SelectionKey c,
String host,
int port)
- Specified by:
wrapChannel
in interface WebSocketClient.WebSocketClientFactory
Copyright © 2013 Pusher. All Rights Reserved.