public enum UDPChannelType extends java.lang.Enum<UDPChannelType>
| Enum Constant and Description |
|---|
EPOLL |
KQUEUE |
NIO |
UNIX_EPOLL |
UNIX_KQUEUE |
| Modifier and Type | Method and Description |
|---|---|
static UDPChannelType |
getBest() |
java.lang.Class<? extends io.netty.channel.Channel> |
getChannelClass() |
io.netty.channel.EventLoopGroup |
getClientLoopGroup() |
io.netty.channel.EventLoopGroup |
getServerChildLoopGroup() |
io.netty.channel.EventLoopGroup |
getServerParentLoopGroup() |
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.
|
public static final UDPChannelType NIO
public static final UDPChannelType EPOLL
public static final UDPChannelType KQUEUE
public static final UDPChannelType UNIX_EPOLL
public static final UDPChannelType UNIX_KQUEUE
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 java.lang.Class<? extends io.netty.channel.Channel> getChannelClass()
public io.netty.channel.EventLoopGroup getClientLoopGroup()
public io.netty.channel.EventLoopGroup getServerParentLoopGroup()
public io.netty.channel.EventLoopGroup getServerChildLoopGroup()