Uses of Class
io.netty5.channel.ChannelOption
-
Packages that use ChannelOption 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.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000). -
-
Uses of ChannelOption in io.netty5.bootstrap
Methods in io.netty5.bootstrap that return types with arguments of type ChannelOption Modifier and Type Method Description Map<ChannelOption<?>,Object>ServerBootstrapConfig. childOptions()Returns a copy of the configured options which will be used for the child channels.Map<ChannelOption<?>,Object>AbstractBootstrapConfig. options()Returns a copy of the configured options.Methods in io.netty5.bootstrap with parameters of type ChannelOption Modifier and Type Method Description <T> ServerBootstrapServerBootstrap. childOption(ChannelOption<T> childOption, T value)Allow to specify aChannelOptionwhich is used for theChannelinstances once they get created (after the acceptor accepted theChannel).<T> BAbstractBootstrap. option(ChannelOption<T> option, T value)Allow to specify aChannelOptionwhich is used for theChannelinstances once they got created. -
Uses of ChannelOption in io.netty5.channel
Methods in io.netty5.channel that return ChannelOption Modifier and Type Method Description static <T> ChannelOption<T>ChannelOption. newInstance(String name)Deprecated.usevalueOf(String).static <T> ChannelOption<T>ChannelOption. valueOf(Class<?> firstNameComponent, String secondNameComponent)static <T> ChannelOption<T>ChannelOption. valueOf(String name)Returns theChannelOptionof the specified name.Methods in io.netty5.channel that return types with arguments of type ChannelOption Modifier and Type Method Description protected static Set<ChannelOption<?>>AbstractChannel. newSupportedIdentityOptionsSet(ChannelOption<?>... options)Creates a newSetthat holds the givenChannelOptions.Methods in io.netty5.channel with parameters of type ChannelOption Modifier and Type Method Description protected <T> TAbstractChannel. getExtendedOption(ChannelOption<T> option)Override to add support for moreChannelOptions.<T> TAbstractChannel. getOption(ChannelOption<T> option)<T> TChannel. getOption(ChannelOption<T> option)Return the value of the givenChannelOptionprotected booleanAbstractChannel. isExtendedOptionSupported(ChannelOption<?> option)Override to add support for moreChannelOptions.booleanAbstractChannel. isOptionSupported(ChannelOption<?> option)booleanChannel. isOptionSupported(ChannelOption<?> option)protected static Set<ChannelOption<?>>AbstractChannel. newSupportedIdentityOptionsSet(ChannelOption<?>... options)Creates a newSetthat holds the givenChannelOptions.protected <T> voidAbstractChannel. setExtendedOption(ChannelOption<T> option, T value)Override to add support for moreChannelOptions.<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. -
Uses of ChannelOption in io.netty5.channel.socket.nio
Subclasses of ChannelOption in io.netty5.channel.socket.nio Modifier and Type Class Description classNioChannelOption<T>ProvidesChannelOptionover a givenSocketOptionwhich is then passed through the underlyingNetworkChannel.Methods in io.netty5.channel.socket.nio that return ChannelOption Modifier and Type Method Description static <T> ChannelOption<T>NioChannelOption. of(SocketOption<T> option)Returns aChannelOptionfor the givenSocketOption.Methods in io.netty5.channel.socket.nio with parameters of type ChannelOption Modifier and Type Method Description protected <T> TNioDatagramChannel. getExtendedOption(ChannelOption<T> option)protected <T> TNioServerSocketChannel. getExtendedOption(ChannelOption<T> option)protected <T> TNioSocketChannel. getExtendedOption(ChannelOption<T> option)protected booleanNioDatagramChannel. isExtendedOptionSupported(ChannelOption<?> option)protected booleanNioServerSocketChannel. isExtendedOptionSupported(ChannelOption<?> option)protected booleanNioSocketChannel. isExtendedOptionSupported(ChannelOption<?> option)protected <T> voidNioDatagramChannel. setExtendedOption(ChannelOption<T> option, T value)protected <T> voidNioServerSocketChannel. setExtendedOption(ChannelOption<T> option, T value)protected <T> voidNioSocketChannel. setExtendedOption(ChannelOption<T> option, T value)
-