Modifier and Type | Class and Description |
---|---|
class |
AbstractNioEventGroup<CODEC extends INioCodec,LISTENER extends IListener<INioSession>,SESSION extends INioSession> |
Modifier and Type | Method and Description |
---|---|
protected abstract INioEventGroup<LISTENER> |
AbstractNioClient.buildEventGroup(IClientCfg clientCfg,
LISTENER listener,
INioCodec codec)
由子类实现创建多路复用通道事件处理器逻辑
|
protected abstract INioEventGroup<LISTENER> |
AbstractNioServer.buildEventGroup(IServerCfg serverCfg,
LISTENER listener,
INioCodec codec)
由子类实现创建多路复用通道事件处理器逻辑
|
protected INioEventGroup<LISTENER> |
AbstractNioSession.eventGroup() |
Modifier and Type | Method and Description |
---|---|
protected abstract INioSession |
AbstractNioEventProcessor.buildNioSession(INioEventGroup<LISTENER> eventGroup,
SelectableChannel channel)
由子类实现创建会话的具体逻辑
|
Constructor and Description |
---|
AbstractNioEventProcessor(String name,
INioEventGroup<LISTENER> eventGroup,
long selectTimeout) |
AbstractNioSession(INioEventGroup<LISTENER> eventGroup,
SelectableChannel channel) |
Modifier and Type | Method and Description |
---|---|
protected INioEventGroup<NioClientListener> |
NioClient.buildEventGroup(IClientCfg clientCfg,
NioClientListener listener,
INioCodec codec) |
Modifier and Type | Class and Description |
---|---|
class |
NioUdpEventGroup |
Modifier and Type | Method and Description |
---|---|
protected INioEventGroup<AbstractNioUdpListener> |
NioUdpClient.buildEventGroup(IClientCfg clientCfg,
AbstractNioUdpListener listener,
INioCodec codec) |
protected INioEventGroup<AbstractNioUdpListener> |
NioUdpServer.buildEventGroup(IServerCfg serverCfg,
AbstractNioUdpListener listener,
INioCodec codec) |
Modifier and Type | Method and Description |
---|---|
protected INioEventGroup<NioServerListener> |
NioServer.buildEventGroup(IServerCfg serverCfg,
NioServerListener listener,
INioCodec codec) |
Modifier and Type | Class and Description |
---|---|
class |
NioEventGroup<LISTENER extends IListener<INioSession>> |
Modifier and Type | Method and Description |
---|---|
protected INioSession |
NioEventProcessor.buildNioSession(INioEventGroup<LISTENER> eventGroup,
SelectableChannel channel) |
Constructor and Description |
---|
NioEventProcessor(INioEventGroup<LISTENER> eventGroup,
String name) |
NioSession(INioEventGroup<LISTENER> eventGroup,
SelectableChannel channel) |
Copyright © 2022. All rights reserved.