程序包 | 说明 |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.embedded |
A virtual
Channel that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context. |
io.netty.channel.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.oio |
Old blocking I/O based channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.rxtx |
A serial and parallel port communication transport based on RXTX.
|
限定符和类型 | 方法和说明 |
---|---|
protected AbstractChannel.AbstractUnsafe |
AbstractServerChannel.newUnsafe() |
protected abstract AbstractChannel.AbstractUnsafe |
AbstractChannel.newUnsafe()
Create a new
AbstractChannel.AbstractUnsafe instance which will be used for the life-time of the Channel |
限定符和类型 | 方法和说明 |
---|---|
protected AbstractChannel.AbstractUnsafe |
EmbeddedChannel.newUnsafe() |
限定符和类型 | 方法和说明 |
---|---|
protected AbstractChannel.AbstractUnsafe |
LocalChannel.newUnsafe() |
限定符和类型 | 类和说明 |
---|---|
protected class |
AbstractNioByteChannel.NioByteUnsafe |
protected class |
AbstractNioChannel.AbstractNioUnsafe |
限定符和类型 | 方法和说明 |
---|---|
protected AbstractChannel.AbstractUnsafe |
AbstractOioChannel.newUnsafe()
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
protected AbstractChannel.AbstractUnsafe |
RxtxChannel.newUnsafe()
已过时。
|