public static enum FloodgateHandshakeHandler.ResultType extends Enum<FloodgateHandshakeHandler.ResultType>
| Enum Constant and Description |
|---|
DECRYPT_ERROR |
EXCEPTION |
INVALID_DATA_LENGTH |
NOT_FLOODGATE_DATA |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static FloodgateHandshakeHandler.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FloodgateHandshakeHandler.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FloodgateHandshakeHandler.ResultType EXCEPTION
public static final FloodgateHandshakeHandler.ResultType NOT_FLOODGATE_DATA
public static final FloodgateHandshakeHandler.ResultType DECRYPT_ERROR
public static final FloodgateHandshakeHandler.ResultType INVALID_DATA_LENGTH
public static final FloodgateHandshakeHandler.ResultType SUCCESS
public static FloodgateHandshakeHandler.ResultType[] values()
for (FloodgateHandshakeHandler.ResultType c : FloodgateHandshakeHandler.ResultType.values()) System.out.println(c);
public static FloodgateHandshakeHandler.ResultType 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