public enum TCPChannelType extends java.lang.Enum<TCPChannelType>
| Enum Constant and Description |
|---|
EPOLL |
KQUEUE |
NIO |
UNIX_EPOLL |
UNIX_KQUEUE |
| Modifier and Type | Method and Description |
|---|---|
static TCPChannelType |
getBest() |
java.lang.Class<? extends io.netty.channel.Channel> |
getClientChannel() |
io.netty.channel.EventLoopGroup |
getClientLoopGroup() |
java.lang.Class<? extends io.netty.channel.ServerChannel> |
getServerChannel() |
io.netty.channel.EventLoopGroup |
getServerChildLoopGroup() |
io.netty.channel.EventLoopGroup |
getServerParentLoopGroup() |
static TCPChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TCPChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TCPChannelType NIO
public static final TCPChannelType EPOLL
public static final TCPChannelType KQUEUE
public static final TCPChannelType UNIX_EPOLL
public static final TCPChannelType UNIX_KQUEUE
public static TCPChannelType[] values()
for (TCPChannelType c : TCPChannelType.values()) System.out.println(c);
public static TCPChannelType 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 TCPChannelType getBest()
public java.lang.Class<? extends io.netty.channel.Channel> getClientChannel()
public io.netty.channel.EventLoopGroup getClientLoopGroup()
public java.lang.Class<? extends io.netty.channel.ServerChannel> getServerChannel()
public io.netty.channel.EventLoopGroup getServerParentLoopGroup()
public io.netty.channel.EventLoopGroup getServerChildLoopGroup()