com.sun.grizzly.websockets
Class ClientWebSocket
java.lang.Object
com.sun.grizzly.websockets.BaseWebSocket
com.sun.grizzly.websockets.ClientWebSocket
- All Implemented Interfaces:
- WebSocket
public class ClientWebSocket
- extends BaseWebSocket
| Methods inherited from class com.sun.grizzly.websockets.BaseWebSocket |
add, close, getListeners, getNetworkHandler, isConnected, onClose, onConnect, onMessage, remove, send, send, setNetworkHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientWebSocket
public ClientWebSocket(String url,
WebSocketListener... listeners)
throws IOException
- Throws:
IOException
ClientWebSocket
public ClientWebSocket(String url,
long timeout,
WebSocketListener... listeners)
throws IOException
- Throws:
IOException
getAddress
public URL getAddress()
execute
public void execute(Runnable runnable)
createNetworkHandler
protected ClientNetworkHandler createNetworkHandler()
Copyright © 2011 Oracle Corpration. All Rights Reserved.