- java.lang.Object
-
- io.netty5.util.AbstractConstant<ChannelOption<T>>
-
- io.netty5.channel.ChannelOption<T>
-
- io.netty5.channel.socket.nio.NioChannelOption<T>
-
- All Implemented Interfaces:
Constant<ChannelOption<T>>
,Comparable<ChannelOption<T>>
public final class NioChannelOption<T> extends ChannelOption<T>
ProvidesChannelOption
over a givenSocketOption
which is then passed through the underlyingNetworkChannel
.
-
-
Field Summary
-
Fields inherited from class io.netty5.channel.ChannelOption
ALLOW_HALF_CLOSURE, AUTO_CLOSE, AUTO_READ, BUFFER_ALLOCATOR, CONNECT_TIMEOUT_MILLIS, DATAGRAM_CHANNEL_ACTIVE_ON_REGISTRATION, IP_MULTICAST_IF, IP_MULTICAST_LOOP_DISABLED, IP_MULTICAST_TTL, IP_TOS, MAX_MESSAGES_PER_READ, MAX_MESSAGES_PER_WRITE, MESSAGE_SIZE_ESTIMATOR, RCVBUFFER_ALLOCATOR, SO_BACKLOG, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_FASTOPEN, TCP_FASTOPEN_CONNECT, TCP_NODELAY, WRITE_BUFFER_WATER_MARK, WRITE_SPIN_COUNT
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> ChannelOption<T>
of(SocketOption<T> option)
Returns aChannelOption
for the givenSocketOption
.-
Methods inherited from class io.netty5.channel.ChannelOption
exists, newInstance, validate, valueOf, valueOf
-
-
-
-
Method Detail
-
of
public static <T> ChannelOption<T> of(SocketOption<T> option)
Returns aChannelOption
for the givenSocketOption
.
-
-