Uses of Interface
io.netty5.channel.Channel
-
Packages that use Channel Package Description io.netty5.bootstrap The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization.io.netty5.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty5.channel.embedded A virtualChannel
that helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.io.netty5.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty5.channel.group A channel registry which helps a user maintain the list of openChannel
s and perform bulk operations on them.io.netty5.channel.internal Internal utilities for channel implementations.io.netty5.channel.kqueue BSD specific transport.io.netty5.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.io.netty5.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty5.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API.io.netty5.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).io.netty5.channel.unix Unix specific transport.io.netty5.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty5.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty5.handler.ssl -
-
Uses of Channel in io.netty5.bootstrap
Classes in io.netty5.bootstrap with type parameters of type Channel Modifier and Type Class Description class
AbstractBootstrap<B extends AbstractBootstrap<B,C,F>,C extends Channel,F>
AbstractBootstrap
is a helper class that makes it easy to bootstrap aChannel
.class
AbstractBootstrapConfig<B extends AbstractBootstrap<B,C,F>,C extends Channel,F>
Exposes the configuration of anAbstractBootstrap
.Methods in io.netty5.bootstrap that return Channel Modifier and Type Method Description Channel
AbstractBootstrap. createUnregistered()
Create a new unregistered channel.Methods in io.netty5.bootstrap that return types with arguments of type Channel Modifier and Type Method Description Future<Channel>
AbstractBootstrap. bind()
Create a newChannel
and bind it.Future<Channel>
AbstractBootstrap. bind(int inetPort)
Create a newChannel
and bind it.Future<Channel>
AbstractBootstrap. bind(String inetHost, int inetPort)
Create a newChannel
and bind it.Future<Channel>
AbstractBootstrap. bind(InetAddress inetHost, int inetPort)
Create a newChannel
and bind it.Future<Channel>
AbstractBootstrap. bind(SocketAddress localAddress)
Create a newChannel
and bind it.ChannelFactory<? extends Channel>
BootstrapConfig. channelFactory()
Future<Channel>
Bootstrap. connect()
Connect aChannel
to the remote peer.Future<Channel>
Bootstrap. connect(String inetHost, int inetPort)
Connect aChannel
to the remote peer.Future<Channel>
Bootstrap. connect(InetAddress inetHost, int inetPort)
Connect aChannel
to the remote peer.Future<Channel>
Bootstrap. connect(SocketAddress remoteAddress)
Connect aChannel
to the remote peer.Future<Channel>
Bootstrap. connect(SocketAddress remoteAddress, SocketAddress localAddress)
Connect aChannel
to the remote peer.Future<Channel>
AbstractBootstrap. register()
Method parameters in io.netty5.bootstrap with type arguments of type Channel Modifier and Type Method Description Bootstrap
Bootstrap. channel(Class<? extends Channel> channelClass)
Bootstrap
Bootstrap. channelFactory(ChannelFactory<? extends Channel> channelFactory)
ChannelFactory
which is used to createChannel
instances from when callingAbstractBootstrap.bind()
. -
Uses of Channel in io.netty5.channel
Classes in io.netty5.channel with type parameters of type Channel Modifier and Type Class Description class
AbstractChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
A skeletalChannel
implementation.class
AbstractServerChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
A skeletal server-sideChannel
implementation.interface
ChannelFactory<T extends Channel>
Creates a newChannel
.class
ChannelInitializer<C extends Channel>
A specialChannelHandler
which offers an easy way to initialize aChannel
once it was registered to itsEventLoop
.class
ReflectiveChannelFactory<T extends Channel>
AChannelFactory
that instantiates a newChannel
by invoking its default constructor reflectively.Subinterfaces of Channel in io.netty5.channel Modifier and Type Interface Description interface
ServerChannel
Classes in io.netty5.channel that implement Channel Modifier and Type Class Description class
AbstractChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
A skeletalChannel
implementation.class
AbstractServerChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
A skeletal server-sideChannel
implementation.Fields in io.netty5.channel with type parameters of type Channel Modifier and Type Field Description static FutureContextListener<Channel,Object>
ChannelFutureListeners. FIRE_EXCEPTION_ON_FAILURE
Methods in io.netty5.channel that return Channel Modifier and Type Method Description default Channel
ChannelHandlerContext. channel()
Return theChannel
which is bound to theChannelHandlerContext
.Channel
ChannelPipeline. channel()
Returns theChannel
that this pipeline is attached to.Channel
DefaultChannelPipeline. channel()
default Channel
Channel. flush()
Channel
Channel. parent()
Returns the parent of this channel.default Channel
Channel. read()
<T> Channel
AbstractChannel. setOption(ChannelOption<T> option, T value)
<T> Channel
Channel. setOption(ChannelOption<T> option, T value)
Sets a configuration property with the specified name and value.Methods in io.netty5.channel with parameters of type Channel Modifier and Type Method Description int
AbstractChannel. compareTo(Channel o)
Method parameters in io.netty5.channel with type arguments of type Channel Modifier and Type Method Description protected static <T extends EventLoopGroup>
TAbstractChannel. validateEventLoopGroup(T group, String name, Class<? extends Channel> channelType)
Constructors in io.netty5.channel with parameters of type Channel Constructor Description CoalescingBufferQueue(Channel channel)
CoalescingBufferQueue(Channel channel, int initSize)
DefaultChannelPipeline(Channel channel)
Constructor parameters in io.netty5.channel with type arguments of type Channel Constructor Description AbstractServerChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, ChannelMetadata metadata, Class<? extends Channel> childChannelType)
AbstractServerChannel(EventLoop eventLoop, EventLoopGroup childEventLoopGroup, Class<? extends Channel> childChannelType)
Creates a new instance. -
Uses of Channel in io.netty5.channel.embedded
Classes in io.netty5.channel.embedded that implement Channel Modifier and Type Class Description class
EmbeddedChannel
Base class forChannel
implementations that are used in an embedded fashion.Constructors in io.netty5.channel.embedded with parameters of type Channel Constructor Description EmbeddedChannel(Channel parent, ChannelId channelId, boolean register, boolean hasDisconnect, ChannelHandler... handlers)
Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers. -
Uses of Channel in io.netty5.channel.epoll
Classes in io.netty5.channel.epoll that implement Channel Modifier and Type Class Description class
EpollDatagramChannel
DatagramChannel
implementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.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. -
Uses of Channel in io.netty5.channel.group
Methods in io.netty5.channel.group that return Channel Modifier and Type Method Description Channel
ChannelGroup. find(ChannelId id)
Channel
DefaultChannelGroup. find(ChannelId id)
Methods in io.netty5.channel.group that return types with arguments of type Channel Modifier and Type Method Description Iterator<Map.Entry<Channel,Throwable>>
ChannelGroupException. iterator()
Iterator<Channel>
DefaultChannelGroup. iterator()
Methods in io.netty5.channel.group with parameters of type Channel Modifier and Type Method Description boolean
DefaultChannelGroup. add(Channel channel)
Future<Void>
ChannelGroupFuture. find(Channel channel)
static ChannelMatcher
ChannelMatchers. is(Channel channel)
Returns aChannelMatcher
that matches the givenChannel
.static ChannelMatcher
ChannelMatchers. isNot(Channel channel)
Returns aChannelMatcher
that matches allChannel
s except the given.boolean
ChannelMatcher. matches(Channel channel)
Returnstrue
if the operation should be also executed on the givenChannel
.Method parameters in io.netty5.channel.group with type arguments of type Channel Modifier and Type Method Description static ChannelMatcher
ChannelMatchers. isInstanceOf(Class<? extends Channel> clazz)
Returns aChannelMatcher
that matches allChannel
s that are an instance of sub-type of the given class.static ChannelMatcher
ChannelMatchers. isNotInstanceOf(Class<? extends Channel> clazz)
Returns aChannelMatcher
that matches allChannel
s that are not an instance of sub-type of the given class.Constructor parameters in io.netty5.channel.group with type arguments of type Channel Constructor Description ChannelGroupException(Collection<Map.Entry<Channel,Throwable>> causes)
-
Uses of Channel in io.netty5.channel.internal
Methods in io.netty5.channel.internal that return Channel Modifier and Type Method Description Channel
DelegatingChannelHandlerContext. channel()
-
Uses of Channel in io.netty5.channel.kqueue
Classes in io.netty5.channel.kqueue that implement Channel Modifier and Type Class Description class
KQueueDatagramChannel
DatagramChannel
implementation that uses KQueue.class
KQueueServerSocketChannel
ServerSocketChannel
implementation that uses KQueue.class
KQueueSocketChannel
SocketChannel
implementation that uses KQueue. -
Uses of Channel in io.netty5.channel.local
Classes in io.netty5.channel.local that implement Channel Modifier and Type Class Description class
LocalChannel
AChannel
for the local transport.class
LocalServerChannel
AServerChannel
for the local transport which allows in VM communication. -
Uses of Channel in io.netty5.channel.nio
Classes in io.netty5.channel.nio with type parameters of type Channel Modifier and Type Class Description class
AbstractNioByteChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
AbstractNioChannel
base class forChannel
s that operate on bytes.class
AbstractNioChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
Abstract base class forChannel
implementations which use a Selector based approach.class
AbstractNioMessageChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
AbstractNioChannel
base class forChannel
s that operate on messages.Classes in io.netty5.channel.nio that implement Channel Modifier and Type Class Description class
AbstractNioByteChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
AbstractNioChannel
base class forChannel
s that operate on bytes.class
AbstractNioChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
Abstract base class forChannel
implementations which use a Selector based approach.class
AbstractNioMessageChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>
AbstractNioChannel
base class forChannel
s that operate on messages. -
Uses of Channel in io.netty5.channel.socket
Subinterfaces of Channel in io.netty5.channel.socket Modifier and Type Interface Description interface
DatagramChannel
A UDP/IPChannel
.interface
ServerSocketChannel
A SocketServerChannel
which accepts incoming Socket connections.interface
SocketChannel
A SocketChannel
. -
Uses of Channel in io.netty5.channel.socket.nio
Classes in io.netty5.channel.socket.nio that implement Channel Modifier and Type Class Description class
NioDatagramChannel
An NIODatagramChannel
that sends and receives anAddressedEnvelope
.class
NioServerSocketChannel
AServerSocketChannel
implementation which uses NIO selector based implementation to accept new connections.class
NioSocketChannel
SocketChannel
which uses NIO selector based implementation. -
Uses of Channel in io.netty5.channel.unix
Subinterfaces of Channel in io.netty5.channel.unix Modifier and Type Interface Description interface
UnixChannel
Channel
that expose operations that are only present onUNIX
like systems. -
Uses of Channel in io.netty5.handler.codec.http.websocketx
Methods in io.netty5.handler.codec.http.websocketx with parameters of type Channel Modifier and Type Method Description Future<Void>
WebSocketClientHandshaker. close(Channel channel, CloseWebSocketFrame frame)
Performs the closing handshake.Future<Void>
WebSocketServerHandshaker. close(Channel channel, CloseWebSocketFrame frame)
Performs the closing handshake.void
WebSocketClientHandshaker. finishHandshake(Channel channel, FullHttpResponse response)
Validates and finishes the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty5.channel.Channel)
}.Future<Void>
WebSocketClientHandshaker. handshake(Channel channel)
Begins the opening handshakeFuture<Void>
WebSocketServerHandshaker. handshake(Channel channel, FullHttpRequest req)
Performs the opening handshake.Future<Void>
WebSocketServerHandshaker. handshake(Channel channel, FullHttpRequest req, HttpHeaders responseHeaders)
Performs the opening handshake When call this method you MUST NOT retain theFullHttpRequest
which is passed in.Future<Void>
WebSocketServerHandshaker. handshake(Channel channel, HttpRequest req)
Performs the opening handshake.Future<Void>
WebSocketServerHandshaker. handshake(Channel channel, HttpRequest req, HttpHeaders responseHeaders)
Performs the opening handshake When call this method you MUST NOT retain theHttpRequest
which is passed in.Future<Void>
WebSocketClientHandshaker. processHandshake(Channel channel, HttpResponse response)
Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty5.channel.Channel)
}.static Future<Void>
WebSocketServerHandshakerFactory. sendUnsupportedVersionResponse(Channel channel)
Return that we need cannot not support the web socket versionstatic void
WebSocketServerHandshakerFactory. sendUnsupportedWebSocketVersionResponse(Channel channel)
-
Uses of Channel in io.netty5.handler.codec.http2
Subinterfaces of Channel in io.netty5.handler.codec.http2 Modifier and Type Interface Description interface
Http2StreamChannel
Constructors in io.netty5.handler.codec.http2 with parameters of type Channel Constructor Description Http2StreamChannelBootstrap(Channel channel)
-
Uses of Channel in io.netty5.handler.ssl
Methods in io.netty5.handler.ssl that return types with arguments of type Channel Modifier and Type Method Description Future<Channel>
SslHandler. handshakeFuture()
Returns aFuture
that will get notified once the current TLS handshake completes.Future<Channel>
SslHandler. renegotiate()
Performs TLS renegotiation.Future<Channel>
SslHandler. renegotiate(Promise<Channel> promise)
Performs TLS renegotiation.Future<Channel>
SslHandler. sslCloseFuture()
Method parameters in io.netty5.handler.ssl with type arguments of type Channel Modifier and Type Method Description Future<Channel>
SslHandler. renegotiate(Promise<Channel> promise)
Performs TLS renegotiation.
-