接口 WsonrpcClientConfig
- 所有超级接口:
net.apexes.wsonrpc.core.WsonrpcConfig
public interface WsonrpcClientConfig
extends net.apexes.wsonrpc.core.WsonrpcConfig
- 作者:
- HeDYn
-
方法概要
修饰符和类型方法说明int断开连接的心跳周期数,即当有设定值个心跳周期没有接收到数据时将自动断开连接,单位ms。int心跳间隔时间,单位ms。intint自动重连间隔时间,单位ms。intgetUrl()从接口继承的方法 net.apexes.wsonrpc.core.WsonrpcConfig
getBinaryWrapper, getIdGenerater, getJsonImplementor, getWsonrpcLogger
-
方法详细资料
-
getUrl
String getUrl() -
getExecutor
Executor getExecutor() -
getWebsocketConnector
WebsocketConnector getWebsocketConnector() -
getHeartbeatInterval
int getHeartbeatInterval()心跳间隔时间,单位ms。为0时不发送心跳。 -
getHeartbeatExpireCycle
int getHeartbeatExpireCycle()断开连接的心跳周期数,即当有设定值个心跳周期没有接收到数据时将自动断开连接,单位ms。为0时表示不自动断开连接。 该设置项仅当发送心跳时生效。 -
getReconnectIntervalMin
int getReconnectIntervalMin()自动重连间隔时间,单位ms。 -
getReconnectIntervalMax
int getReconnectIntervalMax() -
getReconnectIntervalStep
int getReconnectIntervalStep() -
getPingProvider
PingProvider getPingProvider()- 返回:
-