public static enum EventLoops.ChannelType extends Enum<EventLoops.ChannelType>
| Modifier and Type | Method and Description |
|---|---|
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 nullCopyright © 2018–2021. All rights reserved.