public class NioClient extends AbstractNioClient<NioClientListener>
| Constructor and Description |
|---|
NioClient() |
| Modifier and Type | Method and Description |
|---|---|
protected INioEventGroup<NioClientListener> |
buildEventGroup(IClientCfg clientCfg,
NioClientListener listener,
INioCodec codec)
由子类实现创建多路复用通道事件处理器逻辑
|
clientCfg, close, connect, initialize, isClosing, isConnected, lastTouchTime, listener, reconnect, send, touchprotected INioEventGroup<NioClientListener> buildEventGroup(IClientCfg clientCfg, NioClientListener listener, INioCodec codec) throws IOException
AbstractNioClientbuildEventGroup in class AbstractNioClient<NioClientListener>clientCfg - 客户端配置对象listener - 事件监听器codec - 编解码器IOException - 可能产生的I/O异常Copyright © 2022. All rights reserved.