Package | Description |
---|---|
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 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Interface and Description |
---|---|
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
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractChannel
A skeletal
Channel implementation. |
class |
AbstractServerChannel
A skeletal server-side
Channel implementation. |
class |
DefaultChannelPipeline
The default
ChannelPipeline implementation. |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCoalescingBufferQueue.releaseAndFailAll(ChannelOutboundInvoker invoker,
Throwable cause)
Release all buffers in the queue and complete all listeners and promises.
|
Modifier and Type | Class and Description |
---|---|
class |
EmbeddedChannel
Base class for
Channel implementations that are used in an embedded fashion. |
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractKQueueServerChannel |
class |
AbstractKQueueStreamChannel |
class |
KQueueDatagramChannel |
class |
KQueueDomainDatagramChannel |
class |
KQueueDomainSocketChannel |
class |
KQueueServerDomainSocketChannel |
class |
KQueueServerSocketChannel |
class |
KQueueSocketChannel |
Modifier and Type | Class and Description |
---|---|
class |
LocalChannel
A
Channel for the local transport. |
class |
LocalServerChannel
A
ServerChannel for the local transport which allows in VM communication. |
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractOioByteChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
class |
AbstractOioChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
class |
AbstractOioMessageChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
class |
OioByteStreamChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
Modifier and Type | Class and Description |
---|---|
class |
RxtxChannel
Deprecated.
this transport will be removed in the next major version.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SctpChannel
A SCTP/IP
Channel interface for single SCTP association. |
interface |
SctpServerChannel
A SCTP/IP
ServerChannel which accepts incoming SCTP/IP associations. |
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
OioSctpChannel
Deprecated.
use
NioSctpChannel . |
class |
OioSctpServerChannel
Deprecated.
use
NioSctpServerChannel . |
Modifier and Type | Interface and Description |
---|---|
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 . |
Modifier and Type | Class and Description |
---|---|
class |
NioDatagramChannel
An NIO datagram
Channel that sends and receives an
AddressedEnvelope . |
class |
NioDomainSocketChannel
DuplexChannel which uses NIO selector based implementation to support
UNIX Domain Sockets. |
class |
NioServerDomainSocketChannel
A
ServerChannel implementation which uses
NIO selector based implementation to support UNIX Domain Sockets. |
class |
NioServerSocketChannel
A
ServerSocketChannel implementation which uses
NIO selector based implementation to accept new connections. |
class |
NioSocketChannel
SocketChannel which uses NIO selector based implementation. |
Modifier and Type | Class and Description |
---|---|
class |
OioDatagramChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
class |
OioServerSocketChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
class |
OioSocketChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
Modifier and Type | Interface and Description |
---|---|
interface |
UdtChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
interface |
UdtServerChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
Modifier and Type | Class and Description |
---|---|
class |
NioUdtAcceptorChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtByteAcceptorChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtByteConnectorChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtByteRendezvousChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtMessageAcceptorChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtMessageConnectorChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
class |
NioUdtMessageRendezvousChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
Modifier and Type | Interface and Description |
---|---|
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. |
Modifier and Type | Interface and Description |
---|---|
interface |
Http2StreamChannel |
Copyright © 2008–2024 The Netty Project. All rights reserved.