public static enum DOFConnection.Direction extends java.lang.Enum<DOFConnection.Direction>
| Enum Constant and Description |
|---|
INBOUND
Indicates that the endpoint is the server side, so this application
is running the server that accepted the connection or received the
datagram.
|
OUTBOUND
Indicates that the endpoint is the client side, so this application
initiated the connection or sent the datagram.
|
| Modifier and Type | Method and Description |
|---|---|
static DOFConnection.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DOFConnection.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DOFConnection.Direction INBOUND
public static final DOFConnection.Direction OUTBOUND
public static DOFConnection.Direction[] values()
for (DOFConnection.Direction c : DOFConnection.Direction.values()) System.out.println(c);
public static DOFConnection.Direction 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 null