public enum UDPChannelType extends java.lang.Enum<UDPChannelType> implements ChannelType
| Enum Constant and Description |
|---|
EPOLL |
EPOLL_DOMAIN_SOCKET |
IO_URING |
KQUEUE |
KQUEUE_DOMAIN_SOCKET |
LOCAL |
NIO |
| Modifier and Type | Method and Description |
|---|---|
static UDPChannelType |
getBest() |
static UDPChannelType |
getBest(boolean domainSocket) |
static UDPChannelType |
getBest(java.net.SocketAddress address) |
static UDPChannelType |
getBest(UDPChannelType... channelTypes) |
static UDPChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UDPChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfioHandlerFactorySupplierpublic static final UDPChannelType NIO
public static final UDPChannelType EPOLL
public static final UDPChannelType EPOLL_DOMAIN_SOCKET
public static final UDPChannelType KQUEUE
public static final UDPChannelType KQUEUE_DOMAIN_SOCKET
public static final UDPChannelType IO_URING
public static final UDPChannelType LOCAL
public static UDPChannelType[] values()
for (UDPChannelType c : UDPChannelType.values()) System.out.println(c);
public static UDPChannelType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static UDPChannelType getBest()
public static UDPChannelType getBest(java.net.SocketAddress address)
public static UDPChannelType getBest(boolean domainSocket)
public static UDPChannelType getBest(UDPChannelType... channelTypes)