public enum ChannelDirection extends Enum<ChannelDirection>
| Enum Constant and Description |
|---|
BIDIRECTIONAL
In both ways
|
DOWN
From the server to the enpoint
|
UP
From the endpoint to the server
|
| Modifier and Type | Method and Description |
|---|---|
static ChannelDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelDirection UP
public static final ChannelDirection DOWN
public static final ChannelDirection BIDIRECTIONAL
public static ChannelDirection[] values()
for (ChannelDirection c : ChannelDirection.values()) System.out.println(c);
public static ChannelDirection 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.