Package io.netty5.channel.unix
Class GenericUnixChannelOption<T>
- java.lang.Object
-
- io.netty5.util.AbstractConstant<ChannelOption<T>>
-
- io.netty5.channel.ChannelOption<T>
-
- io.netty5.channel.unix.UnixChannelOption<T>
-
- io.netty5.channel.unix.GenericUnixChannelOption<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
Constant<ChannelOption<T>>
,Comparable<ChannelOption<T>>
- Direct Known Subclasses:
IntegerUnixChannelOption
,RawUnixChannelOption
public abstract class GenericUnixChannelOption<T> extends UnixChannelOption<T>
A generic socket option. See man setsockopt.
-
-
Field Summary
-
Fields inherited from class io.netty5.channel.unix.UnixChannelOption
DOMAIN_SOCKET_READ_MODE, SO_PEERCRED, SO_REUSEPORT
-
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 Instance Methods Concrete Methods Modifier and Type Method Description int
level()
Returns the level.int
optname()
Returns the optname.-
Methods inherited from class io.netty5.channel.ChannelOption
exists, newInstance, validate, valueOf, valueOf
-
-
-
-
Method Detail
-
level
public int level()
Returns the level. See man setsockopt- Returns:
- the level.
-
optname
public int optname()
Returns the optname. See man setsockopt- Returns:
- the level.
-
-