public enum DecoderState extends Enum<DecoderState>
| Enum Constant and Description |
|---|
READ_CONTENT |
READ_CONTENT_LENGTH |
READ_MESSAGE_ID |
READ_MESSAGE_PREAMBLE |
READ_MESSAGE_STATUS |
READ_MESSAGE_TYPE |
READ_MESSAGE_TYPE_LENGTH |
READ_SENDER_IP |
READ_SENDER_IP_VERSION |
READ_SENDER_PORT |
| Modifier and Type | Method and Description |
|---|---|
static DecoderState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecoderState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecoderState READ_MESSAGE_PREAMBLE
public static final DecoderState READ_MESSAGE_ID
public static final DecoderState READ_SENDER_IP_VERSION
public static final DecoderState READ_SENDER_IP
public static final DecoderState READ_SENDER_PORT
public static final DecoderState READ_MESSAGE_TYPE_LENGTH
public static final DecoderState READ_MESSAGE_TYPE
public static final DecoderState READ_MESSAGE_STATUS
public static final DecoderState READ_CONTENT_LENGTH
public static final DecoderState READ_CONTENT
public static DecoderState[] values()
for (DecoderState c : DecoderState.values()) System.out.println(c);
public static DecoderState 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 nullCopyright © 2016. All rights reserved.