程序包 cool.scx.socket
类 ScxSocketClient
java.lang.Object
cool.scx.socket.event.EventManager
cool.scx.socket.core.ScxSocket
cool.scx.socket.ping_pong.PingPongManager
cool.scx.socket.ScxSocketClient
- 所有已实现的接口:
EasyUseHelper
-
嵌套类概要
从接口继承的嵌套类/接口 cool.scx.socket.helper.EasyUseHelper
EasyUseHelper.TypeRequest -
字段概要
从类继承的字段 cool.scx.socket.event.EventManager
eventHandlerMap, onClose, onError, onMessage从接口继承的字段 cool.scx.socket.helper.EasyUseHelper
DEFAULT_REQUEST_OPTIONS, DEFAULT_SEND_OPTIONS -
构造器概要
构造器构造器说明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.ping_pong.PingPongManager
doSocketFrame, start, startPing从类继承的方法 cool.scx.socket.core.ScxSocket
bind, clientID, closeWebSocket, createRequest, doAck, doMessage, doResponse, frameCreator, isClosed, onClose, onError, requestManager, send, sendAck, sendResponse从类继承的方法 cool.scx.socket.event.EventManager
_callOnClose, _callOnCloseAsync, _callOnError, _callOnErrorAsync, _callOnEvent, _callOnEventAsync, _callOnMessage, _callOnMessageAsync, onEvent, onEvent, onEvent, onMessage, removeEvent
-
构造器详细资料
-
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
-
doPingTimeout
protected void doPingTimeout()- 指定者:
doPingTimeout在类中PingPongManager
-