static enum ServerLoginNetHandler.State extends java.lang.Enum<ServerLoginNetHandler.State>
Enum Constant and Description |
---|
ACCEPTED |
AUTHENTICATING |
DELAY_ACCEPT |
HELLO |
KEY |
NEGOTIATING |
READY_TO_ACCEPT |
Modifier and Type | Method and Description |
---|---|
static ServerLoginNetHandler.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerLoginNetHandler.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerLoginNetHandler.State HELLO
public static final ServerLoginNetHandler.State KEY
public static final ServerLoginNetHandler.State AUTHENTICATING
public static final ServerLoginNetHandler.State NEGOTIATING
public static final ServerLoginNetHandler.State READY_TO_ACCEPT
public static final ServerLoginNetHandler.State DELAY_ACCEPT
public static final ServerLoginNetHandler.State ACCEPTED
public static ServerLoginNetHandler.State[] values()
for (ServerLoginNetHandler.State c : ServerLoginNetHandler.State.values()) System.out.println(c);
public static ServerLoginNetHandler.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