| 程序包 | 说明 |
|---|---|
| org.smartboot.socket |
定义用户进行通信开发所需实现的接口。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static StateMachineEnum |
StateMachineEnum.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static StateMachineEnum[] |
StateMachineEnum.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
MessageProcessor.stateEvent(AioSession session,
StateMachineEnum stateMachineEnum,
Throwable throwable)
状态机事件,当枚举事件发生时由框架触发该方法
|
Copyright © 2023. All rights reserved.