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