private static enum PlainClientMechanism.State extends java.lang.Enum<PlainClientMechanism.State>
| Enum Constant and Description |
|---|
ERROR_COMMAND_RECEIVED |
READY |
SENDING_HELLO |
SENDING_INITIATE |
WAITING_FOR_READY |
WAITING_FOR_WELCOME |
| Modifier and Type | Method and Description |
|---|---|
static PlainClientMechanism.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlainClientMechanism.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlainClientMechanism.State SENDING_HELLO
public static final PlainClientMechanism.State WAITING_FOR_WELCOME
public static final PlainClientMechanism.State SENDING_INITIATE
public static final PlainClientMechanism.State WAITING_FOR_READY
public static final PlainClientMechanism.State ERROR_COMMAND_RECEIVED
public static final PlainClientMechanism.State READY
public static PlainClientMechanism.State[] values()
for (PlainClientMechanism.State c : PlainClientMechanism.State.values()) System.out.println(c);
public static PlainClientMechanism.State 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