索引
常量字段值|所有程序包|所有类和接口
A
- ACK - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
ACK
- ack_id - 类中的变量 cool.scx.socket.ScxSocketFrame
B
- bind(WebSocketBase) - 类中的方法 cool.scx.socket.ScxSocketBase
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
- callResponseCallback(ScxSocketFrame) - 类中的方法 cool.scx.socket.EventManager
- callResponseCallbackAsync(ScxSocketFrame) - 类中的方法 cool.scx.socket.EventManager
- cancel() - 类中的方法 cool.scx.socket.SeqIDClearTask
- cancelAllClearTask() - 类中的方法 cool.scx.socket.DuplicateFrameChecker
- cancelAllClearTaskAsync() - 类中的方法 cool.scx.socket.DuplicateFrameChecker
- cancelResend() - 类中的方法 cool.scx.socket.SendTask
-
取消重发任务
- checkDuplicate(ScxSocketFrame) - 类中的方法 cool.scx.socket.DuplicateFrameChecker
-
用来判断是否为重发的消息
- clear() - 类中的方法 cool.scx.socket.SendTask
-
从任务列表中移除此任务
- clientID - 类中的变量 cool.scx.socket.ScxSocketBase
- clientID() - 类中的方法 cool.scx.socket.ScxSocketBase
- close() - 类中的方法 cool.scx.socket.PingPongManager
- close() - 类中的方法 cool.scx.socket.ScxSocket
- close() - 类中的方法 cool.scx.socket.ScxSocketClient
- close() - 类中的方法 cool.scx.socket.ScxSocketClientConnect
- closeWebSocket() - 类中的方法 cool.scx.socket.ScxSocketBase
- 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
- createRequestFrame(String, String, SendOptions) - 类中的方法 cool.scx.socket.FrameCreator
- createResponseFrame(long, String, SendOptions) - 类中的方法 cool.scx.socket.FrameCreator
D
- doAck(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocket
- doAck(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocketBase
- doClose(Void) - 类中的方法 cool.scx.socket.ScxSocket
- doClose(Void) - 类中的方法 cool.scx.socket.ScxSocketBase
- doClose(Void) - 类中的方法 cool.scx.socket.ScxSocketClient
- doError(Throwable) - 类中的方法 cool.scx.socket.ScxSocket
- doError(Throwable) - 类中的方法 cool.scx.socket.ScxSocketBase
- doError(Throwable) - 类中的方法 cool.scx.socket.ScxSocketClient
- doMessage(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocket
- doMessage(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocketBase
- doPingTimeout() - 类中的方法 cool.scx.socket.PingPongManager
- doPingTimeout() - 类中的方法 cool.scx.socket.ScxSocketClient
- doPingTimeout() - 类中的方法 cool.scx.socket.ScxSocketClientConnect
- doResponse(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocket
- doResponse(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocketBase
- doSocketFrame(ScxSocketFrame) - 类中的方法 cool.scx.socket.PingPongManager
- doSocketFrame(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocketBase
- duplicateFrameChecker - 类中的变量 cool.scx.socket.EventManager
- DuplicateFrameChecker - cool.scx.socket中的类
-
重复帧检查器
- DuplicateFrameChecker(long) - 类的构造器 cool.scx.socket.DuplicateFrameChecker
- DuplicateFrameKey - cool.scx.socket中的记录类
- DuplicateFrameKey(long, long) - 记录类的构造器 cool.scx.socket.DuplicateFrameKey
-
创建
DuplicateFrameKey记录类的实例。
E
- equals(Object) - 记录类中的方法 cool.scx.socket.DuplicateFrameKey
-
指示某个其他对象是否“等于”此对象。
- event_name - 类中的变量 cool.scx.socket.ScxSocketFrame
- EventManager - cool.scx.socket中的类
- EventManager(ScxSocketOptions, String) - 类的构造器 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.DuplicateFrameChecker
- getSeqIDClearTimeout() - 类中的方法 cool.scx.socket.ScxSocketOptions
H
- hashCode() - 记录类中的方法 cool.scx.socket.DuplicateFrameKey
-
返回此对象的哈希代码值。
I
- isClosed() - 类中的方法 cool.scx.socket.ScxSocketBase
L
- logger - 类中的变量 cool.scx.socket.ScxSocketBase
M
- MESSAGE - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
消息
N
- need_ack - 类中的变量 cool.scx.socket.ScxSocketFrame
- need_response - 类中的变量 cool.scx.socket.ScxSocketFrame
- now - 类中的变量 cool.scx.socket.ScxSocketFrame
- now() - 记录类中的方法 cool.scx.socket.DuplicateFrameKey
-
返回
now记录组件的值。
O
- onClientConnect(Consumer<ScxSocketClientConnect>) - 类中的方法 cool.scx.socket.ScxSocketServer
- onClose(Consumer<Void>) - 类中的方法 cool.scx.socket.EventManager
- onError(Consumer<Throwable>) - 类中的方法 cool.scx.socket.EventManager
- onEvent(String, BiConsumer<String, ScxSocketRequest>) - 类中的方法 cool.scx.socket.EventManager
- onEvent(String, BiConsumer<T, TypeConverter.TypeRequest>, TypeReference<T>) - 类中的方法 cool.scx.socket.TypeConverter
- onEvent(String, BiConsumer<T, TypeConverter.TypeRequest>, Class<T>) - 类中的方法 cool.scx.socket.TypeConverter
- onEvent(String, Consumer<String>) - 类中的方法 cool.scx.socket.EventManager
- onEvent(String, Consumer<T>, TypeReference<T>) - 类中的方法 cool.scx.socket.TypeConverter
- onEvent(String, Consumer<T>, Class<T>) - 类中的方法 cool.scx.socket.TypeConverter
- onEvent(String, Function<String, String>) - 类中的方法 cool.scx.socket.EventManager
- onEvent(String, Function<T, ?>, TypeReference<T>) - 类中的方法 cool.scx.socket.TypeConverter
- onEvent(String, Function<T, ?>, Class<T>) - 类中的方法 cool.scx.socket.TypeConverter
- onMessage(Consumer<String>) - 类中的方法 cool.scx.socket.EventManager
- onOpen(Consumer<Void>) - 类中的方法 cool.scx.socket.ScxSocketClient
- options - 类中的变量 cool.scx.socket.ScxSocketBase
P
- payload - 类中的变量 cool.scx.socket.ScxSocketFrame
- PING - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
心跳 ping
- PING_FRAME - 类中的静态变量 cool.scx.socket.FrameCreator
- PingPongManager - cool.scx.socket中的类
- PingPongManager(ScxSocketOptions, String) - 类的构造器 cool.scx.socket.PingPongManager
- PONG - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
心跳 pong
- PONG_FRAME - 类中的静态变量 cool.scx.socket.FrameCreator
R
- removeBind() - 类中的方法 cool.scx.socket.ScxSocketBase
- removeEvent(String) - 类中的方法 cool.scx.socket.EventManager
- response(Object) - 类中的方法 cool.scx.socket.TypeConverter.TypeRequest
- response(String) - 类中的方法 cool.scx.socket.ScxSocketRequest
- response(String) - 类中的方法 cool.scx.socket.TypeConverter.TypeRequest
- RESPONSE - 类中的静态变量 cool.scx.socket.ScxSocketFrameType
-
响应
S
- ScxSocket - cool.scx.socket中的类
- ScxSocket(ScxSocketOptions, String) - 类的构造器 cool.scx.socket.ScxSocket
- ScxSocketBase - cool.scx.socket中的类
- ScxSocketBase(ScxSocketOptions, String) - 类的构造器 cool.scx.socket.ScxSocketBase
- 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
- ScxSocketRequest - cool.scx.socket中的类
- ScxSocketRequest(ScxSocketBase, long) - 类的构造器 cool.scx.socket.ScxSocketRequest
- 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(ScxSocketFrame, SendOptions) - 类中的方法 cool.scx.socket.ScxSocketBase
- send(Object) - 类中的方法 cool.scx.socket.TypeConverter
- send(Object, SendOptions) - 类中的方法 cool.scx.socket.TypeConverter
- send(String) - 类中的方法 cool.scx.socket.ScxSocketBase
- send(String, SendOptions) - 类中的方法 cool.scx.socket.ScxSocketBase
- sendAck(long) - 类中的方法 cool.scx.socket.ScxSocketBase
- sendEvent(String, Object) - 类中的方法 cool.scx.socket.TypeConverter
- sendEvent(String, Object, SendOptions) - 类中的方法 cool.scx.socket.TypeConverter
- sendEvent(String, Object, Consumer<String>) - 类中的方法 cool.scx.socket.TypeConverter
- sendEvent(String, Object, Consumer<String>, SendOptions) - 类中的方法 cool.scx.socket.TypeConverter
- sendEvent(String, Object, Consumer<T>, TypeReference<T>) - 类中的方法 cool.scx.socket.TypeConverter
- sendEvent(String, Object, Consumer<T>, SendOptions, TypeReference<T>) - 类中的方法 cool.scx.socket.TypeConverter
- sendEvent(String, Object, Consumer<T>, SendOptions, Class<T>) - 类中的方法 cool.scx.socket.TypeConverter
- sendEvent(String, Object, Consumer<T>, Class<T>) - 类中的方法 cool.scx.socket.TypeConverter
- sendEvent(String, String) - 类中的方法 cool.scx.socket.ScxSocketBase
- sendEvent(String, String, SendOptions) - 类中的方法 cool.scx.socket.ScxSocketBase
- sendEvent(String, String, Consumer<String>) - 类中的方法 cool.scx.socket.ScxSocketBase
- sendEvent(String, String, Consumer<String>, SendOptions) - 类中的方法 cool.scx.socket.ScxSocketBase
- SendOptions - cool.scx.socket中的类
- SendOptions() - 类的构造器 cool.scx.socket.SendOptions
- sendResponse(long, String) - 类中的方法 cool.scx.socket.ScxSocketBase
- SendTask - cool.scx.socket中的类
- SendTask(ScxSocketFrame, SendOptions, ScxSocket) - 类的构造器 cool.scx.socket.SendTask
- sendTaskMap - 类中的变量 cool.scx.socket.ScxSocket
- seq_id - 类中的变量 cool.scx.socket.ScxSocketFrame
- seq_id() - 记录类中的方法 cool.scx.socket.DuplicateFrameKey
-
返回
seq_id记录组件的值。 - SeqIDClearTask - cool.scx.socket中的类
- SeqIDClearTask(DuplicateFrameKey, DuplicateFrameChecker) - 类的构造器 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
- setResponseCallback(ScxSocketFrame, Consumer<String>) - 类中的方法 cool.scx.socket.EventManager
- setResponseCallback(ScxSocketFrame, Consumer<String>) - 类中的方法 cool.scx.socket.ScxSocketBase
- 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.DuplicateFrameChecker
- startAllClearTaskAsync() - 类中的方法 cool.scx.socket.DuplicateFrameChecker
- startPing() - 类中的方法 cool.scx.socket.PingPongManager
- startPing() - 类中的方法 cool.scx.socket.ScxSocketClientConnect
-
服务端不需要 ping 客户端 只需要等待 pong 并在心跳超时后关闭即可
T
- toJson() - 类中的方法 cool.scx.socket.ScxSocketFrame
- toString() - 记录类中的方法 cool.scx.socket.DuplicateFrameKey
-
返回此记录类的字符串表示形式。
- type - 类中的变量 cool.scx.socket.ScxSocketFrame
- TypeConverter - cool.scx.socket中的类
-
便于使用
- TypeConverter(ScxSocketOptions, String) - 类的构造器 cool.scx.socket.TypeConverter
- TypeConverter.TypeRequest - cool.scx.socket中的类
- TypeRequest(ScxSocketRequest) - 类的构造器 cool.scx.socket.TypeConverter.TypeRequest
W
- webSocket - 类中的变量 cool.scx.socket.ScxSocketBase
常量字段值|所有程序包|所有类和接口