| Package | Description |
|---|---|
| org.aoju.bus.socket |
定义用户进行通信开发所需实现的接口
|
| Modifier and Type | Method and Description |
|---|---|
Protocol<T> |
ServerConfig.getProtocol() |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerConfig.setProtocol(Protocol<T> protocol) |
| 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) |
Copyright © 2021. All rights reserved.