private static enum NetworkTestHandler.MessageType extends java.lang.Enum<NetworkTestHandler.MessageType>
Enum Constant and Description |
---|
DOWNLOAD_DATA |
PONG |
UPLOAD_STATISTICS |
Modifier and Type | Method and Description |
---|---|
static NetworkTestHandler.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkTestHandler.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkTestHandler.MessageType UPLOAD_STATISTICS
public static final NetworkTestHandler.MessageType DOWNLOAD_DATA
public static final NetworkTestHandler.MessageType PONG
public static NetworkTestHandler.MessageType[] values()
for (NetworkTestHandler.MessageType c : NetworkTestHandler.MessageType.values()) System.out.println(c);
public static NetworkTestHandler.MessageType 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