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