索引
常量字段值|所有程序包|所有类和接口
A
- ACK - 类中的静态变量 cool.scx.socket.ScxSocketFrame.Type
- ack_id - 类中的变量 cool.scx.socket.ScxSocketFrame
C
- call(ServerWebSocket) - 类中的方法 cool.scx.socket.ScxSocketServer
- clientID() - 类中的方法 cool.scx.socket.ScxSocket
- close() - 类中的方法 cool.scx.socket.ScxClientSocket
- close() - 类中的方法 cool.scx.socket.ScxServerSocket
- close() - 类中的方法 cool.scx.socket.ScxSocket
- closeWebSocket() - 类中的方法 cool.scx.socket.ScxSocket
- connect() - 类中的方法 cool.scx.socket.ScxSocketClient
- cool.scx.socket - 程序包 cool.scx.socket
- createConnectOptions(String, String) - 类中的静态方法 cool.scx.socket.Helper
-
根据 uri 和 clientID 创建 ConnectOptions
D
- doClose(Void) - 类中的方法 cool.scx.socket.ScxClientSocket
- doClose(Void) - 类中的方法 cool.scx.socket.ScxSocket
- doError(Throwable) - 类中的方法 cool.scx.socket.ScxClientSocket
- doError(Throwable) - 类中的方法 cool.scx.socket.ScxSocket
- doPingTimeout() - 类中的方法 cool.scx.socket.ScxClientSocket
- doPingTimeout() - 类中的方法 cool.scx.socket.ScxServerSocket
- doSocketFrame(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxClientSocket
- doSocketFrame(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxServerSocket
- doSocketFrame(ScxSocketFrame) - 类中的方法 cool.scx.socket.ScxSocket
E
- EasyUseSocket - cool.scx.socket中的类
-
便于使用的 Socket
- EasyUseSocket.TypeRequest - cool.scx.socket中的类
- event_name - 类中的变量 cool.scx.socket.ScxSocketFrame
F
- fromJson(String) - 类中的静态方法 cool.scx.socket.ScxSocketFrame
- fromJson(String, TypeReference<T>) - 类中的静态方法 cool.scx.socket.Helper
- fromJson(String, Class<T>) - 类中的静态方法 cool.scx.socket.Helper
G
- getClientID(ServerWebSocket) - 类中的静态方法 cool.scx.socket.Helper
-
从 ServerWebSocket 中获取 clientID
- getDelayed(int) - 类中的静态方法 cool.scx.socket.Helper
-
根据次数获取延时时间 根据次数进行 2的 次方倍增 , 如 1, 2 ,4 ,8 ,16 等
- getDuplicateFrameCheckerClearTimeout() - 类中的方法 cool.scx.socket.ScxSocketOptions
- getGiveUpIfReachMaxResendTimes() - 类中的方法 cool.scx.socket.SendOptions
- getMaxResendDelayed() - 类中的方法 cool.scx.socket.SendOptions
- getMaxResendTimes() - 类中的方法 cool.scx.socket.SendOptions
- getNeedAck() - 类中的方法 cool.scx.socket.SendOptions
- getPingInterval() - 类中的方法 cool.scx.socket.PingPongOptions
- getPingTimeout() - 类中的方法 cool.scx.socket.PingPongOptions
- getReconnectTimeout() - 类中的方法 cool.scx.socket.ScxSocketClientOptions
- getRequestTimeout() - 类中的方法 cool.scx.socket.RequestOptions
- getServerSocket(String) - 类中的方法 cool.scx.socket.ScxSocketServer
- getServerSockets() - 类中的方法 cool.scx.socket.ScxSocketServer
- getStatusKeepTime() - 类中的方法 cool.scx.socket.ScxSocketServerOptions
H
- Helper - cool.scx.socket中的类
- Helper() - 类的构造器 cool.scx.socket.Helper
I
- isClosed() - 类中的方法 cool.scx.socket.ScxSocket
L
M
- MESSAGE - 类中的静态变量 cool.scx.socket.ScxSocketFrame.Type
N
- need_ack - 类中的变量 cool.scx.socket.ScxSocketFrame
- need_response - 类中的变量 cool.scx.socket.ScxSocketFrame
- now - 类中的变量 cool.scx.socket.ScxSocketFrame
O
- onClose(Consumer<Void>) - 类中的方法 cool.scx.socket.ScxSocket
- onConnect(Consumer<ScxClientSocket>) - 类中的方法 cool.scx.socket.ScxSocketClient
- onConnect(Consumer<ScxServerSocket>) - 类中的方法 cool.scx.socket.ScxSocketServer
- onError(Consumer<Throwable>) - 类中的方法 cool.scx.socket.ScxSocket
- onEvent(String, BiConsumer<String, ScxSocketRequest>) - 类中的方法 cool.scx.socket.ScxSocket
- onEvent(String, BiConsumer<T, EasyUseSocket.TypeRequest>, TypeReference<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- onEvent(String, BiConsumer<T, EasyUseSocket.TypeRequest>, Class<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- onEvent(String, Consumer<String>) - 类中的方法 cool.scx.socket.ScxSocket
- onEvent(String, Consumer<T>, TypeReference<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- onEvent(String, Consumer<T>, Class<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- onEvent(String, Function<String, String>) - 类中的方法 cool.scx.socket.ScxSocket
- onEvent(String, Function<T, ?>, TypeReference<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- onEvent(String, Function<T, ?>, Class<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- onMessage(Consumer<String>) - 类中的方法 cool.scx.socket.ScxSocket
P
- payload - 类中的变量 cool.scx.socket.ScxSocketFrame
- PING - 类中的静态变量 cool.scx.socket.ScxSocketFrame.Type
- PingPongOptions - cool.scx.socket中的类
- PingPongOptions() - 类的构造器 cool.scx.socket.PingPongOptions
- PONG - 类中的静态变量 cool.scx.socket.ScxSocketFrame.Type
R
- removeEvent(String) - 类中的方法 cool.scx.socket.ScxSocket
- RequestOptions - cool.scx.socket中的类
- RequestOptions() - 类的构造器 cool.scx.socket.RequestOptions
- response(Object) - 类中的方法 cool.scx.socket.EasyUseSocket.TypeRequest
- response(String) - 类中的方法 cool.scx.socket.EasyUseSocket.TypeRequest
- response(String) - 类中的方法 cool.scx.socket.ScxSocketRequest
- RESPONSE - 类中的静态变量 cool.scx.socket.ScxSocketFrame.Type
S
- SCX_SOCKET_CLIENT_ID - 类中的静态变量 cool.scx.socket.Helper
- ScxClientSocket - cool.scx.socket中的类
-
客户端 Socket 对象
- ScxServerSocket - cool.scx.socket中的类
- ScxSocket - cool.scx.socket中的类
- 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
- ScxSocketClientOptions - cool.scx.socket中的类
- ScxSocketClientOptions() - 类的构造器 cool.scx.socket.ScxSocketClientOptions
- ScxSocketFrame - cool.scx.socket中的类
- ScxSocketFrame() - 类的构造器 cool.scx.socket.ScxSocketFrame
- ScxSocketFrame.Type - cool.scx.socket中的类
- ScxSocketOptions - cool.scx.socket中的类
- ScxSocketOptions() - 类的构造器 cool.scx.socket.ScxSocketOptions
- ScxSocketRequest - cool.scx.socket中的类
- ScxSocketRequest(ScxSocket, 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(Object) - 类中的方法 cool.scx.socket.EasyUseSocket
- send(Object, SendOptions) - 类中的方法 cool.scx.socket.EasyUseSocket
- send(String) - 类中的方法 cool.scx.socket.EasyUseSocket
- send(String, SendOptions) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, Object) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, Object, SendOptions) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, Object, BiConsumer<String, Throwable>) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, Object, BiConsumer<String, Throwable>, RequestOptions) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, Object, BiConsumer<T, Throwable>, TypeReference<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, Object, BiConsumer<T, Throwable>, RequestOptions, TypeReference<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, Object, BiConsumer<T, Throwable>, RequestOptions, Class<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, Object, BiConsumer<T, Throwable>, Class<T>) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, String) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, String, SendOptions) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, String, BiConsumer<String, Throwable>) - 类中的方法 cool.scx.socket.EasyUseSocket
- sendEvent(String, String, BiConsumer<String, Throwable>, RequestOptions) - 类中的方法 cool.scx.socket.EasyUseSocket
- SendOptions - cool.scx.socket中的类
- SendOptions() - 类的构造器 cool.scx.socket.SendOptions
- sendResponse(long, String) - 类中的方法 cool.scx.socket.ScxSocket
- seq_id - 类中的变量 cool.scx.socket.ScxSocketFrame
- setDuplicateFrameCheckerClearTimeout(int) - 类中的方法 cool.scx.socket.ScxSocketOptions
- 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.PingPongOptions
- setPingTimeout(int) - 类中的方法 cool.scx.socket.PingPongOptions
- setReconnectTimeout(int) - 类中的方法 cool.scx.socket.ScxSocketClientOptions
- setRequestTimeout(int) - 类中的方法 cool.scx.socket.RequestOptions
- setStatusKeepTime(int) - 类中的方法 cool.scx.socket.ScxSocketServerOptions
- setTimeout(Runnable, long) - 类中的静态方法 cool.scx.socket.Helper
-
创建 Timeout 使用 Netty 时间轮 可能不准确但占用资源少
- start() - 类中的方法 cool.scx.socket.ScxClientSocket
- start() - 类中的方法 cool.scx.socket.ScxServerSocket
- start() - 类中的方法 cool.scx.socket.ScxSocket
- startPing() - 类中的方法 cool.scx.socket.ScxClientSocket
- startPing() - 类中的方法 cool.scx.socket.ScxServerSocket
T
- toJson() - 类中的方法 cool.scx.socket.ScxSocketFrame
- toJson(Object) - 类中的静态方法 cool.scx.socket.Helper
- type - 类中的变量 cool.scx.socket.ScxSocketFrame
- Type() - 类的构造器 cool.scx.socket.ScxSocketFrame.Type
- TypeRequest(ScxSocketRequest) - 类的构造器 cool.scx.socket.EasyUseSocket.TypeRequest
常量字段值|所有程序包|所有类和接口