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