| 接口 | 说明 |
|---|---|
| NetListener |
For NetListen you can listen to the accepted channel and NetChannel close events.
|
| PipeContext |
Each
NetChannel has a PipeContext. |
| Pipeline<OUT> |
Application protocol stack
|
| PipelineFactory |
Application protocol stack
|
| SoChannel<T> |
Channel
|
| SoContext |
manage all network NetChannel and NetListen
|
| SoResManager |
Resource manager
|
| SoThreadFactory |
Create a thread factory for io/worker threads.
|
| 类 | 说明 |
|---|---|
| AbstractSocket |
AIO Socket basic
|
| AttributeChannel<T> |
SoChannel abstract implementation, providing only get/set of attributes.
|
| CobbleSocket |
AIO TCP/IP,UDP/IP
|
| DefaultSoResManager |
SoResManager implements
|
| DefaultSoTask |
Socket Task
|
| NetChannel |
A tcp network channel
the channel that binds to the Application layer network protocol stack.
|
| NetListen |
A listener channel for accept incoming sockets and binding them to the protocol stack
|
| NetListenOptions |
Listener options.
|
| PipeContextImpl |
PipeContext implements
|
| SimplePipeStack |
Application protocol stack
|
| SimpleTask |
closing the channel.
|
| SoConfig |
Socket Config
|
| SoDelayTask |
delay task
|
| 枚举 | 说明 |
|---|---|
| DefaultSoTask.SoTaskStatus | |
| SoHandlerStatus |
Handler status
|
| 异常错误 | 说明 |
|---|---|
| PipeFullException |
Thrown to indicate that the pipleline's rcv slot is full and cannot accept more data.
|
| SoCloseException |
When
SoChannel is closed. |
| SoConnectTimeoutException |
ConnectException which will be thrown if a connection could not be established because of a connection timeout. |
| SoInputCloseException |
When
NetChannel.shutdownInput() called. |
| SoOutputCloseException |
When
NetChannel.shutdownOutput() called. |
| SoOverflowException |
socket Overflow Exception.
|
| SoReadTimeoutException |
ConnectException which will be thrown if a connection could not be established because of a connection read timeout. |
| SoTimeoutException |
Thrown to indicate that there is an error creating or accessing a Socket.
|
| SoWriteTimeoutException |
ConnectException which will be thrown if a connection could not be established because of a connection write timeout. |
Copyright © 2022–2024. All rights reserved.