public class JsonRpcClientLocal extends JsonRpcClient
closedByClient, connectionTimeout, handlerManager, heartbeating, heartbeatInterval, idleTimeout, label, registerInfo, rsHelper, session
Constructor and Description |
---|
JsonRpcClientLocal(JsonRpcHandler<? extends Object> handler) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this client.
|
void |
connect() |
void |
setRequestTimeout(long requesTimeout) |
void |
setServerRequestHandler(JsonRpcHandler<?> handler) |
closeWithReconnection, 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, setSessionId
public JsonRpcClientLocal(JsonRpcHandler<? extends Object> handler)
public void close() throws IOException
JsonRpcClient
close
in interface Closeable
close
in interface AutoCloseable
close
in class JsonRpcClient
IOException
- if an I/O error occurs when closing this client.#isClosed
public void setServerRequestHandler(JsonRpcHandler<?> handler)
setServerRequestHandler
in class JsonRpcClient
public void connect() throws IOException
connect
in class JsonRpcClient
IOException
public void setRequestTimeout(long requesTimeout)
setRequestTimeout
in class JsonRpcClient
Copyright © 2017 Kurento. All rights reserved.