public enum ForgeServerHandshakeState extends Enum<ForgeServerHandshakeState> implements IForgeServerPacketHandler<ForgeServerHandshakeState>
Enum Constant and Description |
---|
COMPLETE |
DONE
Handshake has been completed.
|
HELLO |
START
Start the handshake.
|
WAITINGCACK |
Modifier and Type | Method and Description |
---|---|
static ForgeServerHandshakeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForgeServerHandshakeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
handle, send
public static final ForgeServerHandshakeState START
public static final ForgeServerHandshakeState HELLO
public static final ForgeServerHandshakeState WAITINGCACK
public static final ForgeServerHandshakeState COMPLETE
public static final ForgeServerHandshakeState DONE
public static ForgeServerHandshakeState[] values()
for (ForgeServerHandshakeState c : ForgeServerHandshakeState.values()) System.out.println(c);
public static ForgeServerHandshakeState 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 nullCopyright © 2012–2020 SpigotMC. All rights reserved.