public final class NioChannelOption<T> extends ChannelOption<T>
ChannelOption
over a given SocketOption
which is then passed through the underlying
NetworkChannel
.ALLOCATOR, ALLOW_HALF_CLOSURE, AUTO_CLOSE, AUTO_READ, CONNECT_TIMEOUT_MILLIS, DATAGRAM_CHANNEL_ACTIVE_ON_REGISTRATION, IP_MULTICAST_ADDR, IP_MULTICAST_IF, IP_MULTICAST_LOOP_DISABLED, IP_MULTICAST_TTL, IP_TOS, MAX_MESSAGES_PER_READ, MAX_MESSAGES_PER_WRITE, MESSAGE_SIZE_ESTIMATOR, RCVBUF_ALLOCATOR, SINGLE_EVENTEXECUTOR_PER_GROUP, 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_HIGH_WATER_MARK, WRITE_BUFFER_LOW_WATER_MARK, WRITE_BUFFER_WATER_MARK, WRITE_SPIN_COUNT
Modifier and Type | Method and Description |
---|---|
static <T> ChannelOption<T> |
of(SocketOption<T> option)
Returns a
ChannelOption for the given SocketOption . |
exists, newInstance, validate, valueOf, valueOf
public static <T> ChannelOption<T> of(SocketOption<T> option)
ChannelOption
for the given SocketOption
.Copyright © 2008–2024 The Netty Project. All rights reserved.