public enum PluginChannelDirection extends Enum<PluginChannelDirection>
Enum Constant and Description |
---|
INCOMING
The plugin channel is being sent to the server from a client.
|
OUTGOING
The plugin channel is being sent to a client from the server.
|
Modifier and Type | Method and Description |
---|---|
static PluginChannelDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginChannelDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginChannelDirection INCOMING
public static final PluginChannelDirection OUTGOING
public static PluginChannelDirection[] values()
for (PluginChannelDirection c : PluginChannelDirection.values()) System.out.println(c);
public static PluginChannelDirection 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 © 2015. All rights reserved.