程序包 cool.scx.socket
类 ScxSocketClient
java.lang.Object
cool.scx.socket.FrameCreator
cool.scx.socket.EventManager
cool.scx.socket.ScxSocket
cool.scx.socket.PingPongManager
cool.scx.socket.ScxSocketClient
-
字段概要
从类继承的字段 cool.scx.socket.EventManager
options从类继承的字段 cool.scx.socket.FrameCreator
PING_FRAME, PONG_FRAME -
构造器概要
构造器构造器说明ScxSocketClient(String uri, io.vertx.core.http.WebSocketClient webSocketClient) ScxSocketClient(String uri, io.vertx.core.http.WebSocketClient webSocketClient, ScxSocketClientOptions options) ScxSocketClient(String uri, io.vertx.core.http.WebSocketClient webSocketClient, String clientID) ScxSocketClient(String uri, io.vertx.core.http.WebSocketClient webSocketClient, String clientID, ScxSocketClientOptions clientOptions) -
方法概要
从类继承的方法 cool.scx.socket.PingPongManager
doSocketFrame, startPing从类继承的方法 cool.scx.socket.EventManager
callOnClose, callOnError, callOnEventWithCheckDuplicateAsync, callOnMessageWithCheckDuplicateAsync, cancelAllClearTask, cancelAllClearTaskAsync, checkDuplicate, onClose, onError, onEvent, onMessage, startAllClearTask, startAllClearTaskAsync从类继承的方法 cool.scx.socket.FrameCreator
createAckFrame, createAckFrame, createEventFrame, createMessageFrame
-
构造器详细资料
-
ScxSocketClient
public ScxSocketClient(String uri, io.vertx.core.http.WebSocketClient webSocketClient, String clientID, ScxSocketClientOptions clientOptions) -
ScxSocketClient
public ScxSocketClient(String uri, io.vertx.core.http.WebSocketClient webSocketClient, ScxSocketClientOptions options) -
ScxSocketClient
-
ScxSocketClient
-
-
方法详细资料
-
onOpen
-
connect
public void connect() -
doClose
-
doError
-
close
public void close()- 覆盖:
close在类中PingPongManager
-
clientID
-
doPingTimeout
protected void doPingTimeout()- 指定者:
doPingTimeout在类中PingPongManager
-