程序包 cool.scx.socket
类 ScxSocket
java.lang.Object
cool.scx.socket.ScxSocket
- 直接已知子类:
ScxSocketClient,ScxSocketClientConnect
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidclose()protected voiddoAck(ScxSocketFrame ackFrame) protected voidprotected voidprotected voidprotected voiddoSocketFrame(ScxSocketFrame socketFrame) booleanisClosed()<T> ScxSocketvoidvoidsend(String content, SendOptions options) voidvoidsendEvent(String eventName, Object data, SendOptions options) protected voidsendPong()protected void
-
字段详细资料
-
logger
-
webSocket
protected io.vertx.core.http.WebSocketBase webSocket
-
-
构造器详细资料
-
ScxSocket
-
-
方法详细资料
-
send
-
send
-
sendEvent
-
sendEvent
-
sendPong
protected void sendPong() -
doSocketFrame
-
doAck
-
doClose
-
doError
-
startPing
protected void startPing() -
close
public void close() -
doPingTimeout
protected void doPingTimeout() -
isClosed
public boolean isClosed() -
onMessage
-
onClose
-
onError
-
onEvent
-
onEvent
-