public class JsonRpcClientNettyWebSocket extends AbstractJsonRpcClientWebSocket
| Modifier and Type | Class and Description |
|---|---|
class |
JsonRpcClientNettyWebSocket.JsonRpcWebSocketClientHandler |
maxPacketSize, RECONNECT_DELAY_TIME_MILLIS, uriclosedByClient, connectionTimeout, handlerManager, heartbeating, heartbeatInterval, idleTimeout, label, registerInfo, rsHelper, session| Constructor and Description |
|---|
JsonRpcClientNettyWebSocket(String url) |
JsonRpcClientNettyWebSocket(String url,
JsonRpcWSConnectionListener connectionListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeNativeClient() |
protected void |
connectNativeClient() |
protected boolean |
isNativeClientConnected() |
protected void |
sendTextMessage(String jsonMessage) |
close, closeClient, closeWithReconnection, connect, connectIfNecessary, connectWithSession, createExecServiceIfNecessary, fireConnected, fireConnectionFailed, fireDisconnected, fireReconnectedNewServer, fireReconnectedSameServer, fireReconnecting, getRequestTimeout, handleReconnectDisconnection, handleResponseFromServer, internalConnectIfNecessary, internalSendRequestWebSocket, internalSendRequestWebSocket, isConcurrentServerRequest, isSendCloseMessage, isTryReconnectingForever, onConnected, onConnectionFailed, onDisconnected, onReconnected, onReconnecting, receivedTextMessage, setConcurrentServerRequest, setRequestTimeout, setSendCloseMessage, setTryReconnectingForever, setTryReconnectingMaxTimedisableHeartbeat, disableHeartbeat, enableHeartbeat, enableHeartbeat, getConnectionTimeout, getHeartbeatInterval, getIdleTimeout, getSession, isClosedByUser, sendNotification, sendNotification, sendNotification, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest, sendRequestHonorId, sendRequestHonorId, setConnectionTimeout, setHeartbeatInterval, setIdleTimeout, setLabel, setServerRequestHandler, setSessionIdpublic JsonRpcClientNettyWebSocket(String url)
public JsonRpcClientNettyWebSocket(String url, JsonRpcWSConnectionListener connectionListener)
protected void sendTextMessage(String jsonMessage) throws IOException
sendTextMessage in class AbstractJsonRpcClientWebSocketIOExceptionprotected boolean isNativeClientConnected()
isNativeClientConnected in class AbstractJsonRpcClientWebSocketprotected void connectNativeClient()
throws TimeoutException,
Exception
connectNativeClient in class AbstractJsonRpcClientWebSocketTimeoutExceptionExceptionpublic void closeNativeClient()
closeNativeClient in class AbstractJsonRpcClientWebSocketCopyright © 2017 Kurento. All rights reserved.