public class JsonRpcClientNettyWebSocket extends AbstractJsonRpcClientWebSocket
Modifier and Type | Class and Description |
---|---|
class |
JsonRpcClientNettyWebSocket.JsonRpcWebSocketClientHandler |
maxPacketSize, RECONNECT_DELAY_TIME_MILLIS, uri
closedByClient, 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, setTryReconnectingMaxTime
disableHeartbeat, 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, setSessionId
public JsonRpcClientNettyWebSocket(String url)
public JsonRpcClientNettyWebSocket(String url, JsonRpcWSConnectionListener connectionListener)
protected void sendTextMessage(String jsonMessage) throws IOException
sendTextMessage
in class AbstractJsonRpcClientWebSocket
IOException
protected boolean isNativeClientConnected()
isNativeClientConnected
in class AbstractJsonRpcClientWebSocket
protected void connectNativeClient() throws TimeoutException, Exception
connectNativeClient
in class AbstractJsonRpcClientWebSocket
TimeoutException
Exception
public void closeNativeClient()
closeNativeClient
in class AbstractJsonRpcClientWebSocket
Copyright © 2017 Kurento. All rights reserved.