Package ca.uqac.lif.cep.io.websocket
Class WebSocketReader.WebSocketClientWrapper
- java.lang.Object
-
- org.java_websocket.WebSocketAdapter
-
- org.java_websocket.AbstractWebSocket
-
- org.java_websocket.client.WebSocketClient
-
- ca.uqac.lif.cep.io.websocket.WebSocketReader.WebSocketClientWrapper
-
- All Implemented Interfaces:
java.lang.Runnable
,org.java_websocket.WebSocket
,org.java_websocket.WebSocketListener
- Enclosing class:
- WebSocketReader
protected class WebSocketReader.WebSocketClientWrapper extends org.java_websocket.client.WebSocketClient
A wrapper class so that this processor can be used as an instance ofWebSocketClient
-
-
Constructor Summary
Constructors Constructor Description WebSocketClientWrapper(java.net.URI serverURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onClose(int arg0, java.lang.String arg1, boolean arg2)
void
onError(java.lang.Exception arg0)
void
onMessage(java.lang.String arg0)
void
onOpen(org.java_websocket.handshake.ServerHandshake arg0)
-
Methods inherited from class org.java_websocket.client.WebSocketClient
addHeader, clearHeaders, close, close, close, closeBlocking, closeConnection, connect, connectBlocking, connectBlocking, getAttachment, getConnection, getConnections, getDraft, getLocalSocketAddress, getLocalSocketAddress, getProtocol, getReadyState, getRemoteSocketAddress, getRemoteSocketAddress, getResourceDescriptor, getSocket, getSSLSession, getURI, hasBufferedData, hasSSLSupport, isClosed, isClosing, isFlushAndClose, isOpen, onCloseInitiated, onClosing, onMessage, onSetSSLParameters, onWebsocketClose, onWebsocketCloseInitiated, onWebsocketClosing, onWebsocketError, onWebsocketMessage, onWebsocketMessage, onWebsocketOpen, onWriteDemand, reconnect, reconnectBlocking, removeHeader, run, send, send, send, sendFragmentedFrame, sendFrame, sendFrame, sendPing, setAttachment, setDnsResolver, setProxy, setSocket, setSocketFactory
-
Methods inherited from class org.java_websocket.AbstractWebSocket
getConnectionLostTimeout, isReuseAddr, isTcpNoDelay, setConnectionLostTimeout, setReuseAddr, setTcpNoDelay, startConnectionLostTimer, stopConnectionLostTimer
-
-
-
-
Method Detail
-
onClose
public void onClose(int arg0, java.lang.String arg1, boolean arg2)
- Specified by:
onClose
in classorg.java_websocket.client.WebSocketClient
-
onError
public void onError(java.lang.Exception arg0)
- Specified by:
onError
in classorg.java_websocket.client.WebSocketClient
-
onMessage
public void onMessage(java.lang.String arg0)
- Specified by:
onMessage
in classorg.java_websocket.client.WebSocketClient
-
onOpen
public void onOpen(org.java_websocket.handshake.ServerHandshake arg0)
- Specified by:
onOpen
in classorg.java_websocket.client.WebSocketClient
-
-