| Package | Description |
|---|---|
| org.aoju.bus.socket |
定义用户进行通信开发所需实现的接口
|
| org.aoju.bus.socket.plugins |
提供插件等实现
|
| org.aoju.bus.socket.process |
消息处理器
|
| Modifier and Type | Method and Description |
|---|---|
static SocketStatus |
SocketStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketStatus[] |
SocketStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReconnectPlugin.stateEvent(SocketStatus socketStatus,
AioSession session,
Throwable throwable) |
void |
Plugin.stateEvent(SocketStatus socketStatus,
AioSession session,
Throwable throwable)
监听状态机事件
|
void |
MonitorPlugin.stateEvent(SocketStatus socketStatus,
AioSession session,
Throwable throwable) |
void |
HeartPlugin.stateEvent(SocketStatus socketStatus,
AioSession session,
Throwable throwable) |
void |
AbstractPlugin.stateEvent(SocketStatus socketStatus,
AioSession session,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
default void |
MessageProcessor.stateEvent(AioSession session,
SocketStatus socketStatus,
Throwable throwable)
状态机事件,当枚举事件发生时由框架触发该方法
|
void |
AbstractProcessor.stateEvent(AioSession session,
SocketStatus socketStatus,
Throwable throwable) |
abstract void |
AbstractProcessor.stateEvent0(AioSession session,
SocketStatus socketStatus,
Throwable throwable) |
Copyright © 2021. All rights reserved.