程序包 | 说明 |
---|---|
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.kqueue |
BSD specific transport.
|
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.
|
io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
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 |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
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 |
UDT Transport.
|
io.netty.channel.udt.nio |
UDT Transport for NIO Channels.
|
io.netty.channel.unix |
Unix specific transport.
|
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
限定符和类型 | 接口和说明 |
---|---|
interface |
Channel
A nexus to a network socket or a component which is capable of I/O
operations such as read, write, connect, and bind.
|
interface |
ChannelHandlerContext
Enables a
ChannelHandler to interact with its ChannelPipeline
and other handlers. |
interface |
ChannelPipeline
A list of
ChannelHandler s which handles or intercepts inbound events and outbound operations of a
Channel . |
interface |
ServerChannel
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractChannel
A skeletal
Channel implementation. |
class |
AbstractServerChannel
A skeletal server-side
Channel implementation. |
class |
DefaultChannelPipeline
The default
ChannelPipeline implementation. |
限定符和类型 | 方法和说明 |
---|---|
ChannelOutboundInvoker |
ChannelOutboundInvoker.flush()
Request to flush all pending messages via this ChannelOutboundInvoker.
|
ChannelOutboundInvoker |
ChannelOutboundInvoker.read()
Request to Read data from the
Channel into the first inbound buffer, triggers an
ChannelInboundHandler.channelRead(ChannelHandlerContext, Object) event if data was
read, and triggers a
channelReadComplete event so the
handler can decide to continue reading. |
限定符和类型 | 方法和说明 |
---|---|
void |
AbstractCoalescingBufferQueue.releaseAndFailAll(ChannelOutboundInvoker invoker,
java.lang.Throwable cause)
Release all buffers in the queue and complete all listeners and promises.
|
限定符和类型 | 类和说明 |
---|---|
class |
EmbeddedChannel
Base class for
Channel implementations that are used in an embedded fashion. |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractEpollServerChannel |
class |
AbstractEpollStreamChannel |
class |
EpollDatagramChannel
DatagramChannel implementation that uses linux EPOLL Edge-Triggered Mode for
maximal performance. |
class |
EpollDomainDatagramChannel |
class |
EpollDomainSocketChannel |
class |
EpollServerDomainSocketChannel |
class |
EpollServerSocketChannel
ServerSocketChannel implementation that uses linux EPOLL Edge-Triggered Mode for
maximal performance. |
class |
EpollSocketChannel
SocketChannel implementation that uses linux EPOLL Edge-Triggered Mode for
maximal performance. |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractKQueueServerChannel |
class |
AbstractKQueueStreamChannel |
class |
KQueueDatagramChannel |
class |
KQueueDomainDatagramChannel |
class |
KQueueDomainSocketChannel |
class |
KQueueServerDomainSocketChannel |
class |
KQueueServerSocketChannel |
class |
KQueueSocketChannel |
限定符和类型 | 类和说明 |
---|---|
class |
LocalChannel
A
Channel for the local transport. |
class |
LocalServerChannel
A
ServerChannel for the local transport which allows in VM communication. |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractNioByteChannel
AbstractNioChannel base class for Channel s that operate on bytes. |
class |
AbstractNioChannel
Abstract base class for
Channel implementations which use a Selector based approach. |
class |
AbstractNioMessageChannel
AbstractNioChannel base class for Channel s that operate on messages. |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractOioByteChannel
已过时。
use NIO / EPOLL / KQUEUE transport.
|
class |
AbstractOioChannel
已过时。
use NIO / EPOLL / KQUEUE transport.
|
class |
AbstractOioMessageChannel
已过时。
use NIO / EPOLL / KQUEUE transport.
|
class |
OioByteStreamChannel
已过时。
use NIO / EPOLL / KQUEUE transport.
|
限定符和类型 | 类和说明 |
---|---|
class |
RxtxChannel
已过时。
this transport will be removed in the next major version.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
SctpChannel
A SCTP/IP
Channel interface for single SCTP association. |
interface |
SctpServerChannel
A SCTP/IP
ServerChannel which accepts incoming SCTP/IP associations. |
限定符和类型 | 类和说明 |
---|---|
class |
NioSctpChannel
SctpChannel implementation which use non-blocking mode and allows to read /
write SctpMessage s to the underlying SctpChannel . |
class |
NioSctpServerChannel
SctpServerChannel implementation which use non-blocking mode to accept new
connections and create the NioSctpChannel for them. |
限定符和类型 | 类和说明 |
---|---|
class |
OioSctpChannel
已过时。
use
NioSctpChannel . |
class |
OioSctpServerChannel
已过时。
use
NioSctpServerChannel . |
限定符和类型 | 接口和说明 |
---|---|
interface |
DatagramChannel
A UDP/IP
Channel . |
interface |
DuplexChannel
A duplex
Channel that has two sides that can be shutdown independently. |
interface |
ServerSocketChannel
A TCP/IP
ServerChannel which accepts incoming TCP/IP connections. |
interface |
SocketChannel
A TCP/IP socket
Channel . |
限定符和类型 | 类和说明 |
---|---|
class |
NioDatagramChannel
An NIO datagram
Channel that sends and receives an
AddressedEnvelope . |
class |
NioServerSocketChannel
A
ServerSocketChannel implementation which uses
NIO selector based implementation to accept new connections. |
class |
NioSocketChannel
SocketChannel which uses NIO selector based implementation. |
限定符和类型 | 类和说明 |
---|---|
class |
OioDatagramChannel
已过时。
use NIO / EPOLL / KQUEUE transport.
|
class |
OioServerSocketChannel
已过时。
use NIO / EPOLL / KQUEUE transport.
|
class |
OioSocketChannel
已过时。
use NIO / EPOLL / KQUEUE transport.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
UdtChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
interface |
UdtServerChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
限定符和类型 | 类和说明 |
---|---|
class |
NioUdtAcceptorChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtByteAcceptorChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtByteConnectorChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtByteRendezvousChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtMessageAcceptorChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtMessageConnectorChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtMessageRendezvousChannel
已过时。
The UDT transport is no longer maintained and will be removed.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
DomainDatagramChannel
A
UnixChannel that supports communication via
UNIX domain datagram sockets. |
interface |
DomainSocketChannel
A
UnixChannel that supports communication via
Unix Domain Socket. |
interface |
ServerDomainSocketChannel
|
interface |
UnixChannel
Channel that expose operations that are only present on UNIX like systems. |
限定符和类型 | 接口和说明 |
---|---|
interface |
Http2StreamChannel |