程序包 cool.scx.socket
类 ScxSocketClientConnect
java.lang.Object
cool.scx.socket.ScxSocketBase
cool.scx.socket.EventManager
cool.scx.socket.ScxSocket
cool.scx.socket.PingPongManager
cool.scx.socket.TypeConverter
cool.scx.socket.ScxSocketClientConnect
客户端连接对象
-
嵌套类概要
从类继承的嵌套类/接口 cool.scx.socket.TypeConverter
TypeConverter.TypeRequest -
字段概要
从类继承的字段 cool.scx.socket.EventManager
duplicateFrameChecker从类继承的字段 cool.scx.socket.ScxSocketBase
logger, options, webSocket -
构造器概要
构造器构造器说明ScxSocketClientConnect(String clientID, ScxSocketServerOptions serverOptions, ScxSocketServer scxSocketServer) -
方法概要
从类继承的方法 cool.scx.socket.TypeConverter
onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, send, send, sendEvent, sendEvent, sendEvent, sendEvent, sendEvent, sendEvent, sendEvent, sendEvent从类继承的方法 cool.scx.socket.PingPongManager
doSocketFrame从类继承的方法 cool.scx.socket.EventManager
callOnClose, callOnError, callOnEventWithCheckDuplicateAsync, callOnMessageWithCheckDuplicateAsync, callResponseCallback, callResponseCallbackAsync, onClose, onError, onEvent, onEvent, onEvent, onMessage, removeEvent, setResponseCallback从类继承的方法 cool.scx.socket.ScxSocketBase
bind, closeWebSocket, isClosed, removeBind, send, send, sendAck, sendEvent, sendEvent, sendEvent, sendEvent, sendResponse
-
构造器详细资料
-
ScxSocketClientConnect
public ScxSocketClientConnect(String clientID, ScxSocketServerOptions serverOptions, ScxSocketServer scxSocketServer)
-
-
方法详细资料
-
clientID
-
close
public void close()- 覆盖:
close在类中PingPongManager
-
startPing
protected void startPing()服务端不需要 ping 客户端 只需要等待 pong 并在心跳超时后关闭即可- 覆盖:
startPing在类中PingPongManager
-
doPingTimeout
protected void doPingTimeout()- 指定者:
doPingTimeout在类中PingPongManager
-