| Package | Description |
|---|---|
| org.aoju.bus.socket |
定义用户进行通信开发所需实现的接口
|
| org.aoju.bus.socket.process |
消息处理器
|
| Modifier and Type | Method and Description |
|---|---|
MessageProcessor<T> |
ServerConfig.getProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerConfig.setProcessor(MessageProcessor<T> processor) |
| Constructor and Description |
|---|
AioQuickClient(String host,
int port,
Protocol<T> protocol,
MessageProcessor<T> messageProcessor)
当前构造方法设置了启动Aio客户端的必要参数,基本实现开箱即用。
|
AioQuickServer(int port,
Protocol<T> protocol,
MessageProcessor<T> messageProcessor)
设置服务端启动必要参数配置
|
AioQuickServer(String host,
int port,
Protocol<T> protocol,
MessageProcessor<T> messageProcessor) |
UdpBootstrap(Protocol<R> protocol,
MessageProcessor<R> messageProcessor) |
UdpDispatcher(MessageProcessor<T> processor) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractProcessor<T> |
class |
GroupMessageProcessor<T> |
Copyright © 2021. All rights reserved.