public static enum EventLoops.ChannelType extends Enum<EventLoops.ChannelType>
| Modifier and Type | Method and Description |
|---|---|
Class<? extends io.netty.channel.socket.DatagramChannel> |
getDatagramChannel() |
Class<? extends io.netty.channel.socket.ServerSocketChannel> |
getServerSocketChannel() |
Class<? extends io.netty.channel.socket.SocketChannel> |
getSocketChannel() |
static EventLoops.ChannelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventLoops.ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventLoops.ChannelType EPOLL
public static final EventLoops.ChannelType KQUEUE
public static final EventLoops.ChannelType NIO
public static EventLoops.ChannelType[] values()
for (EventLoops.ChannelType c : EventLoops.ChannelType.values()) System.out.println(c);
public static EventLoops.ChannelType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Class<? extends io.netty.channel.socket.DatagramChannel> getDatagramChannel()
public Class<? extends io.netty.channel.socket.ServerSocketChannel> getServerSocketChannel()
public Class<? extends io.netty.channel.socket.SocketChannel> getSocketChannel()
Copyright © 2018–2019. All rights reserved.