public static enum EConfigure.ConnectionRole extends Enum<EConfigure.ConnectionRole>
| Enum Constant and Description |
|---|
ACCEPTOR
This side accepted the connection.
|
INITIATOR
This side initiated the connection.
|
| Modifier and Type | Method and Description |
|---|---|
static EConfigure.ConnectionRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EConfigure.ConnectionRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EConfigure.ConnectionRole INITIATOR
public static final EConfigure.ConnectionRole ACCEPTOR
public static EConfigure.ConnectionRole[] values()
for (EConfigure.ConnectionRole c : EConfigure.ConnectionRole.values()) System.out.println(c);
public static EConfigure.ConnectionRole 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 © 2019. All rights reserved.