java.io.Serializable, java.lang.Comparable<PluginChannelDirection>public enum PluginChannelDirection extends java.lang.Enum<PluginChannelDirection>
| Enum Constant | 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 | Description |
|---|---|---|
static PluginChannelDirection |
valueOf(java.lang.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(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 nullCopyright © 2018. All rights reserved.