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