public enum ChannelType extends java.lang.Enum<ChannelType>
| Enum Constant and Description |
|---|
EPOLL |
KQUEUE |
NIO |
UNIX_EPOLL |
UNIX_KQUEUE |
| Modifier and Type | Method and Description |
|---|---|
LazyLoadGroup<? extends io.netty.channel.EventLoopGroup> |
clientEventLoopGroup() |
static ChannelType |
get() |
static ChannelType |
get(boolean unix) |
static ChannelType |
get(java.net.SocketAddress address) |
LazyLoadGroup<? extends io.netty.channel.EventLoopGroup> |
serverChildEventLoopGroup() |
LazyLoadGroup<? extends io.netty.channel.EventLoopGroup> |
serverParentEventLoopGroup() |
java.lang.Class<? extends io.netty.channel.Channel> |
tcpClientChannelClass() |
java.lang.Class<? extends io.netty.channel.ServerChannel> |
tcpServerChannelClass() |
java.lang.Class<? extends io.netty.channel.Channel> |
udpClientChannelClass() |
java.lang.Class<? extends io.netty.channel.Channel> |
udpServerChannelClass() |
static ChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelType NIO
public static final ChannelType EPOLL
public static final ChannelType KQUEUE
public static final ChannelType UNIX_EPOLL
public static final ChannelType UNIX_KQUEUE
public static ChannelType[] values()
for (ChannelType c : ChannelType.values()) System.out.println(c);
public static ChannelType 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 ChannelType get()
public static ChannelType get(java.net.SocketAddress address)
public static ChannelType get(boolean unix)
public java.lang.Class<? extends io.netty.channel.Channel> tcpClientChannelClass()
public java.lang.Class<? extends io.netty.channel.Channel> udpClientChannelClass()
public LazyLoadGroup<? extends io.netty.channel.EventLoopGroup> clientEventLoopGroup()
public java.lang.Class<? extends io.netty.channel.ServerChannel> tcpServerChannelClass()
public java.lang.Class<? extends io.netty.channel.Channel> udpServerChannelClass()
public LazyLoadGroup<? extends io.netty.channel.EventLoopGroup> serverParentEventLoopGroup()
public LazyLoadGroup<? extends io.netty.channel.EventLoopGroup> serverChildEventLoopGroup()