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