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