索引
常量字段值|所有程序包|所有类和接口
A
- ACK - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
ACK
- ack_id - 类中的变量 cool.scx.socket.ScxSocketFrame
C
- call(ServerWebSocket) - 类中的方法 cool.scx.socket.ScxSocketServer
- callOnClose(Void) - 类中的方法 cool.scx.socket.EventManager
- callOnError(Throwable) - 类中的方法 cool.scx.socket.EventManager
- callOnEventWithCheckDuplicateAsync(ScxSocketFrame) - 类中的方法 cool.scx.socket.EventManager
- callOnMessageWithCheckDuplicateAsync(ScxSocketFrame) - 类中的方法 cool.scx.socket.EventManager
- cancel() - 类中的方法 cool.scx.socket.SeqIDClearTask
- cancelAllClearTask() - 类中的方法 cool.scx.socket.EventManager
- cancelAllClearTaskAsync() - 类中的方法 cool.scx.socket.EventManager
- cancelResend() - 类中的方法 cool.scx.socket.SendTask
-
取消重发任务
- checkDuplicate(ScxSocketFrame) - 类中的方法 cool.scx.socket.EventManager
-
用来判断是否为重发的消息
- clear() - 类中的方法 cool.scx.socket.SendTask
-
从任务列表中移除此任务
- clientID() - 类中的方法 cool.scx.socket.ScxSocketClient
- clientID() - 类中的方法 cool.scx.socket.ScxSocketClientConnect
- close() - 类中的方法 cool.scx.socket.PingPongManager
- close() - 类中的方法 cool.scx.socket.ScxSocket
- close() - 类中的方法 cool.scx.socket.ScxSocketClient
- close() - 类中的方法 cool.scx.socket.ScxSocketClientConnect
- connect() - 类中的方法 cool.scx.socket.ScxSocketClient
- cool.scx.socket - 程序包 cool.scx.socket
- createAckFrame(long) - 类中的静态方法 cool.scx.socket.FrameCreator
- createAckFrame(long, String) - 类中的静态方法 cool.scx.socket.FrameCreator
- createEventFrame(String, String, SendOptions) - 类中的方法 cool.scx.socket.FrameCreator
- createMessageFrame(String, SendOptions) - 类中的方法 cool.scx.socket.FrameCreator
D
- doAck(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocket
- doClose(Void) - 类中的方法 cool.scx.socket.ScxSocket
- doClose(Void) - 类中的方法 cool.scx.socket.ScxSocketClient
- doError(Throwable) - 类中的方法 cool.scx.socket.ScxSocket
- doError(Throwable) - 类中的方法 cool.scx.socket.ScxSocketClient
- doPingTimeout() - 类中的方法 cool.scx.socket.PingPongManager
- doPingTimeout() - 类中的方法 cool.scx.socket.ScxSocketClient
- doPingTimeout() - 类中的方法 cool.scx.socket.ScxSocketClientConnect
- doSocketFrame(ScxSocketFrame) - 类中的方法 cool.scx.socket.PingPongManager
- doSocketFrame(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocket
E
- event_name - 类中的变量 cool.scx.socket.ScxSocketFrame
- EventManager - cool.scx.socket中的类
- EventManager(ScxSocketOptions) - 类的构造器 cool.scx.socket.EventManager
F
- FrameCreator - cool.scx.socket中的类
- FrameCreator() - 类的构造器 cool.scx.socket.FrameCreator
- fromJson(String) - 类中的静态方法 cool.scx.socket.ScxSocketFrame
G
- getClient(String) - 类中的方法 cool.scx.socket.ScxSocketServer
- getClients() - 类中的方法 cool.scx.socket.ScxSocketServer
- getGiveUpIfReachMaxResendTimes() - 类中的方法 cool.scx.socket.SendOptions
- getMaxResendDelayed() - 类中的方法 cool.scx.socket.SendOptions
- getMaxResendTimes() - 类中的方法 cool.scx.socket.SendOptions
- getNeedAck() - 类中的方法 cool.scx.socket.SendOptions
- getOrCreateClient(String) - 类中的方法 cool.scx.socket.ScxSocketServer
- getPingInterval() - 类中的方法 cool.scx.socket.ScxSocketOptions
- getPingTimeout() - 类中的方法 cool.scx.socket.ScxSocketOptions
- getReconnectTimeout() - 类中的方法 cool.scx.socket.ScxSocketClientOptions
- getRemoveClosedClientTimeout() - 类中的方法 cool.scx.socket.ScxSocketServerOptions
- getSeqIDClearTimeout() - 类中的方法 cool.scx.socket.ScxSocketOptions
I
- isClosed() - 类中的方法 cool.scx.socket.ScxSocket
L
M
- MESSAGE - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
消息 (无需 ACK)
- MESSAGE_NEED_ACK - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
消息 (需要 ACK)
N
- now - 类中的变量 cool.scx.socket.ScxSocketFrame
O
- onClientConnect(Consumer<ScxSocketClientConnect>) - 类中的方法 cool.scx.socket.ScxSocketServer
- onClose(Consumer<Void>) - 类中的方法 cool.scx.socket.EventManager
- onError(Consumer<Throwable>) - 类中的方法 cool.scx.socket.EventManager
- onEvent(String, Consumer<String>) - 类中的方法 cool.scx.socket.EventManager
- onMessage(Consumer<String>) - 类中的方法 cool.scx.socket.EventManager
- onOpen(Consumer<Void>) - 类中的方法 cool.scx.socket.ScxSocketClient
- options - 类中的变量 cool.scx.socket.EventManager
P
- payload - 类中的变量 cool.scx.socket.ScxSocketFrame
- PING - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
心跳 ping
- PING_FRAME - 类中的静态变量 cool.scx.socket.FrameCreator
- PingPongManager - cool.scx.socket中的类
- PingPongManager(ScxSocketOptions) - 类的构造器 cool.scx.socket.PingPongManager
- PONG - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
心跳 pong
- PONG_FRAME - 类中的静态变量 cool.scx.socket.FrameCreator
S
- ScxSocket - cool.scx.socket中的类
- ScxSocket(ScxSocketOptions) - 类的构造器 cool.scx.socket.ScxSocket
- ScxSocketClient - cool.scx.socket中的类
- ScxSocketClient(String, WebSocketClient) - 类的构造器 cool.scx.socket.ScxSocketClient
- ScxSocketClient(String, WebSocketClient, ScxSocketClientOptions) - 类的构造器 cool.scx.socket.ScxSocketClient
- ScxSocketClient(String, WebSocketClient, String) - 类的构造器 cool.scx.socket.ScxSocketClient
- ScxSocketClient(String, WebSocketClient, String, ScxSocketClientOptions) - 类的构造器 cool.scx.socket.ScxSocketClient
- ScxSocketClientConnect - cool.scx.socket中的类
-
客户端连接对象
- ScxSocketClientConnect(String, ScxSocketServerOptions, ScxSocketServer) - 类的构造器 cool.scx.socket.ScxSocketClientConnect
- ScxSocketClientOptions - cool.scx.socket中的类
- ScxSocketClientOptions() - 类的构造器 cool.scx.socket.ScxSocketClientOptions
- ScxSocketFrame - cool.scx.socket中的类
-
ScxSocket 帧结构
- ScxSocketFrame() - 类的构造器 cool.scx.socket.ScxSocketFrame
- ScxSocketFrameType - cool.scx.socket中的类
- ScxSocketFrameType() - 类的构造器 cool.scx.socket.ScxSocketFrameType
- ScxSocketOptions - cool.scx.socket中的类
- ScxSocketOptions() - 类的构造器 cool.scx.socket.ScxSocketOptions
- ScxSocketServer - cool.scx.socket中的类
- ScxSocketServer() - 类的构造器 cool.scx.socket.ScxSocketServer
- ScxSocketServer(ScxSocketServerOptions) - 类的构造器 cool.scx.socket.ScxSocketServer
- ScxSocketServerOptions - cool.scx.socket中的类
- ScxSocketServerOptions() - 类的构造器 cool.scx.socket.ScxSocketServerOptions
- send(ScxSocketFrame, SendOptions) - 类中的方法 cool.scx.socket.ScxSocket
- send(String) - 类中的方法 cool.scx.socket.ScxSocket
- send(String, SendOptions) - 类中的方法 cool.scx.socket.ScxSocket
- sendEvent(String, String) - 类中的方法 cool.scx.socket.ScxSocket
- sendEvent(String, String, SendOptions) - 类中的方法 cool.scx.socket.ScxSocket
- SendOptions - cool.scx.socket中的类
- SendOptions() - 类的构造器 cool.scx.socket.SendOptions
- SendTask - cool.scx.socket中的类
- SendTask(ScxSocketFrame, SendOptions, ScxSocket) - 类的构造器 cool.scx.socket.SendTask
- seq_id - 类中的变量 cool.scx.socket.ScxSocketFrame
- SeqIDClearTask - cool.scx.socket中的类
- SeqIDClearTask(long, EventManager) - 类的构造器 cool.scx.socket.SeqIDClearTask
- setGiveUpIfReachMaxResendTimes(boolean) - 类中的方法 cool.scx.socket.SendOptions
- setMaxResendDelayed(long) - 类中的方法 cool.scx.socket.SendOptions
- setMaxResendTimes(int) - 类中的方法 cool.scx.socket.SendOptions
- setNeedAck(boolean) - 类中的方法 cool.scx.socket.SendOptions
- setPingInterval(int) - 类中的方法 cool.scx.socket.ScxSocketOptions
- setPingTimeout(int) - 类中的方法 cool.scx.socket.ScxSocketOptions
- setReconnectTimeout(int) - 类中的方法 cool.scx.socket.ScxSocketClientOptions
- setRemoveClosedClientTimeout(int) - 类中的方法 cool.scx.socket.ScxSocketServerOptions
- setSeqIDClearTimeout(int) - 类中的方法 cool.scx.socket.ScxSocketOptions
- socketFrame() - 类中的方法 cool.scx.socket.SendTask
- start() - 类中的方法 cool.scx.socket.SendTask
- start() - 类中的方法 cool.scx.socket.SeqIDClearTask
- startAllClearTask() - 类中的方法 cool.scx.socket.EventManager
- startAllClearTaskAsync() - 类中的方法 cool.scx.socket.EventManager
- startPing() - 类中的方法 cool.scx.socket.PingPongManager
- startPing() - 类中的方法 cool.scx.socket.ScxSocketClientConnect
-
服务端不需要 ping 客户端 只需要等待 pong 并在心跳超时后关闭即可
T
- toJson() - 类中的方法 cool.scx.socket.ScxSocketFrame
- type - 类中的变量 cool.scx.socket.ScxSocketFrame
W
A C D E F G I L M N O P S T W常量字段值|所有程序包|所有类和接口