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