程序包 | 说明 |
---|---|
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.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
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.sctp.nio |
NIO-based SCTP Channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.sctp.oio |
Old blocking I/O based SCTP channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.udt.nio |
UDT Transport for NIO Channels.
|
限定符和类型 | 方法和说明 |
---|---|
ChannelOutboundBuffer |
Channel.Unsafe.outboundBuffer()
Returns the
ChannelOutboundBuffer of the Channel where the pending write requests are stored. |
ChannelOutboundBuffer |
AbstractChannel.AbstractUnsafe.outboundBuffer() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
AbstractServerChannel.doWrite(ChannelOutboundBuffer in) |
protected abstract void |
AbstractChannel.doWrite(ChannelOutboundBuffer in)
Flush the content of the given buffer to the remote peer.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
EmbeddedChannel.doWrite(ChannelOutboundBuffer in) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
EpollDatagramChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
AbstractEpollStreamChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
AbstractEpollServerChannel.doWrite(ChannelOutboundBuffer in) |
protected boolean |
EpollDomainSocketChannel.doWriteSingle(ChannelOutboundBuffer in,
int writeSpinCount) |
protected boolean |
AbstractEpollStreamChannel.doWriteSingle(ChannelOutboundBuffer in,
int writeSpinCount) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
LocalChannel.doWrite(ChannelOutboundBuffer in) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
AbstractNioMessageChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
AbstractNioByteChannel.doWrite(ChannelOutboundBuffer in) |
protected abstract boolean |
AbstractNioMessageChannel.doWriteMessage(java.lang.Object msg,
ChannelOutboundBuffer in)
Write a message to the underlying
Channel . |
限定符和类型 | 方法和说明 |
---|---|
protected void |
AbstractOioByteChannel.doWrite(ChannelOutboundBuffer in) |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
NioSctpServerChannel.doWriteMessage(java.lang.Object msg,
ChannelOutboundBuffer in) |
protected boolean |
NioSctpChannel.doWriteMessage(java.lang.Object msg,
ChannelOutboundBuffer in) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
OioSctpServerChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
OioSctpChannel.doWrite(ChannelOutboundBuffer in) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
NioSocketChannel.doWrite(ChannelOutboundBuffer in) |
protected boolean |
NioServerSocketChannel.doWriteMessage(java.lang.Object msg,
ChannelOutboundBuffer in) |
protected boolean |
NioDatagramChannel.doWriteMessage(java.lang.Object msg,
ChannelOutboundBuffer in) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
OioServerSocketChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
OioDatagramChannel.doWrite(ChannelOutboundBuffer in) |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
NioUdtMessageConnectorChannel.doWriteMessage(java.lang.Object msg,
ChannelOutboundBuffer in)
已过时。
|
protected boolean |
NioUdtAcceptorChannel.doWriteMessage(java.lang.Object msg,
ChannelOutboundBuffer in)
已过时。
|