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 virtualChannelthat helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.io.netty5.channel.group A channel registry which helps a user maintain the list of openChannels and perform bulk operations on them.io.netty5.channel.internal Internal utilities for channel implementations.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). -
-
Uses of Channel in io.netty5.bootstrap
Classes in io.netty5.bootstrap with type parameters of type Channel Modifier and Type Class Description classAbstractBootstrap<B extends AbstractBootstrap<B,C,F>,C extends Channel,F>AbstractBootstrapis a helper class that makes it easy to bootstrap aChannel.classAbstractBootstrapConfig<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 ChannelAbstractBootstrap. createUnregistered()Create a new unregistered channel.Methods in io.netty5.bootstrap that return types with arguments of type Channel Modifier and Type Method Description io.netty5.util.concurrent.Future<Channel>AbstractBootstrap. bind()Create a newChanneland bind it.io.netty5.util.concurrent.Future<Channel>AbstractBootstrap. bind(int inetPort)Create a newChanneland bind it.io.netty5.util.concurrent.Future<Channel>AbstractBootstrap. bind(String inetHost, int inetPort)Create a newChanneland bind it.io.netty5.util.concurrent.Future<Channel>AbstractBootstrap. bind(InetAddress inetHost, int inetPort)Create a newChanneland bind it.io.netty5.util.concurrent.Future<Channel>AbstractBootstrap. bind(SocketAddress localAddress)Create a newChanneland bind it.ChannelFactory<? extends Channel>BootstrapConfig. channelFactory()io.netty5.util.concurrent.Future<Channel>Bootstrap. connect()Connect aChannelto the remote peer.io.netty5.util.concurrent.Future<Channel>Bootstrap. connect(String inetHost, int inetPort)Connect aChannelto the remote peer.io.netty5.util.concurrent.Future<Channel>Bootstrap. connect(InetAddress inetHost, int inetPort)Connect aChannelto the remote peer.io.netty5.util.concurrent.Future<Channel>Bootstrap. connect(SocketAddress remoteAddress)Connect aChannelto the remote peer.io.netty5.util.concurrent.Future<Channel>Bootstrap. connect(SocketAddress remoteAddress, SocketAddress localAddress)Connect aChannelto the remote peer.io.netty5.util.concurrent.Future<Channel>AbstractBootstrap. register()Method parameters in io.netty5.bootstrap with type arguments of type Channel Modifier and Type Method Description BootstrapBootstrap. channel(Class<? extends Channel> channelClass)BootstrapBootstrap. channelFactory(ChannelFactory<? extends Channel> channelFactory)ChannelFactorywhich is used to createChannelinstances 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 classAbstractChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>A skeletalChannelimplementation.classAbstractServerChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>A skeletalServerChannelimplementation.interfaceChannelFactory<T extends Channel>Creates a newChannel.classChannelInitializer<C extends Channel>A specialChannelHandlerwhich offers an easy way to initialize aChannelonce it was registered to itsEventLoop.classReflectiveChannelFactory<T extends Channel>AChannelFactorythat instantiates a newChannelby invoking its default constructor reflectively.Subinterfaces of Channel in io.netty5.channel Modifier and Type Interface Description interfaceServerChannelClasses in io.netty5.channel that implement Channel Modifier and Type Class Description classAbstractChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>A skeletalChannelimplementation.classAbstractServerChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>A skeletalServerChannelimplementation.Fields in io.netty5.channel with type parameters of type Channel Modifier and Type Field Description static io.netty5.util.concurrent.FutureContextListener<Channel,Object>ChannelFutureListeners. FIRE_EXCEPTION_ON_FAILUREMethods in io.netty5.channel that return Channel Modifier and Type Method Description default ChannelChannelHandlerContext. channel()Return theChannelwhich is bound to theChannelHandlerContext.ChannelChannelPipeline. channel()Returns theChannelthat this pipeline is attached to.ChannelDefaultChannelPipeline. channel()default ChannelChannel. flush()ChannelChannel. parent()Returns the parent of this channel.default ChannelChannel. read()default ChannelChannel. read(ReadBufferAllocator readBufferAllocator)<T> ChannelAbstractChannel. setOption(ChannelOption<T> option, T value)<T> ChannelChannel. 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 intAbstractChannel. compareTo(Channel o)ReadHandleFactory.ReadHandleMaxMessagesReadHandleFactory. newHandle(Channel channel)WriteHandleFactory.WriteHandleMaxMessagesWriteHandleFactory. newHandle(Channel channel)protected MaxMessagesWriteHandleFactory.MaxMessagesWriteHandleMaxMessagesWriteHandleFactory. newHandle(Channel channel, int maxMessagesPerWrite)ReadHandleFactory.ReadHandleReadHandleFactory. newHandle(Channel channel)Creates a new handle for the givenChannel.WriteHandleFactory.WriteHandleServerChannelWriteHandleFactory. newHandle(Channel channel)WriteHandleFactory.WriteHandleWriteHandleFactory. newHandle(Channel channel)Creates a new handle for the givenChannel.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)Validate that theEventLoopGroupsupports the givenchannel type.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, 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 classEmbeddedChannelBase class forChannelimplementations 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.group
Methods in io.netty5.channel.group that return Channel Modifier and Type Method Description ChannelChannelGroup. find(ChannelId id)ChannelDefaultChannelGroup. 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 booleanDefaultChannelGroup. add(Channel channel)io.netty5.util.concurrent.Future<Void>ChannelGroupFuture. find(Channel channel)Returns theFutureof the individual I/O operation which is associated with the specifiedChannel.static ChannelMatcherChannelMatchers. is(Channel channel)Returns aChannelMatcherthat matches the givenChannel.static ChannelMatcherChannelMatchers. isNot(Channel channel)Returns aChannelMatcherthat matches allChannels except the given.booleanChannelMatcher. matches(Channel channel)Returnstrueif 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 ChannelMatcherChannelMatchers. isInstanceOf(Class<? extends Channel> clazz)Returns aChannelMatcherthat matches allChannels that are an instance of sub-type of the given class.static ChannelMatcherChannelMatchers. isNotInstanceOf(Class<? extends Channel> clazz)Returns aChannelMatcherthat matches allChannels 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 ChannelDelegatingChannelHandlerContext. channel() -
Uses of Channel in io.netty5.channel.local
Classes in io.netty5.channel.local that implement Channel Modifier and Type Class Description classLocalChannelAChannelfor the local transport.classLocalServerChannelAServerChannelfor 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 classAbstractNioByteChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>AbstractNioChannelbase class forChannels that operate on bytes.classAbstractNioChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>Abstract base class forChannelimplementations which use a Selector based approach.classAbstractNioMessageChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>AbstractNioChannelbase class forChannels that operate on messages.Classes in io.netty5.channel.nio that implement Channel Modifier and Type Class Description classAbstractNioByteChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>AbstractNioChannelbase class forChannels that operate on bytes.classAbstractNioChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>Abstract base class forChannelimplementations which use a Selector based approach.classAbstractNioMessageChannel<P extends Channel,L extends SocketAddress,R extends SocketAddress>AbstractNioChannelbase class forChannels 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 interfaceDatagramChannelA UDP/IPChannel.interfaceServerSocketChannelA SocketServerChannelwhich accepts incoming Socket connections.interfaceSocketChannelA SocketChannel.Methods in io.netty5.channel.socket with parameters of type Channel Modifier and Type Method Description protected MaxMessagesWriteHandleFactory.MaxMessagesWriteHandleSocketChannelWriteHandleFactory. newHandle(Channel channel, int maxMessagesPerWrite) -
Uses of Channel in io.netty5.channel.socket.nio
Classes in io.netty5.channel.socket.nio that implement Channel Modifier and Type Class Description classNioDatagramChannelAn NIODatagramChannelthat sends and receives anAddressedEnvelope.classNioServerSocketChannelAServerSocketChannelimplementation which uses NIO selector based implementation to accept new connections.classNioSocketChannelSocketChannelwhich uses NIO selector based implementation.
-