public enum SignalCodec extends Enum<SignalCodec>
| Enum Constant and Description |
|---|
BEGIN_COMPOSITE
Signal the beginning of a composite.
|
BEGIN_ENUM
Signal the beginning of a enum.
|
BEGIN_FIELD
Signal the beginning of a field.
|
BEGIN_GROUP
Signal the beginning of a group.
|
BEGIN_MESSAGE
Signal the beginning of a message.
|
BEGIN_SET
Signal the beginning of a set.
|
BEGIN_VAR_DATA
Signal the beginning of variable data.
|
CHOICE
Signal the choice in a set.
|
ENCODING
Signal the encoding of a field.
|
END_COMPOSITE
Signal the end of a composite.
|
END_ENUM
Signal the end of a enum.
|
END_FIELD
Signal end beginning of a field.
|
END_GROUP
Signal the end of a group.
|
END_MESSAGE
Signal the end of a message.
|
END_SET
Signal the end of a set.
|
END_VAR_DATA
Signal the end of variable data.
|
NULL_VAL
To be used to represent not present or null.
|
VALID_VALUE
Signal a value of an enum.
|
| Modifier and Type | Method and Description |
|---|---|
static SignalCodec |
get(short value)
Lookup the enum value representing the value.
|
short |
value()
The raw encoded value in the Java type representation.
|
static SignalCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignalCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalCodec BEGIN_MESSAGE
public static final SignalCodec END_MESSAGE
public static final SignalCodec BEGIN_COMPOSITE
public static final SignalCodec END_COMPOSITE
public static final SignalCodec BEGIN_FIELD
public static final SignalCodec END_FIELD
public static final SignalCodec BEGIN_GROUP
public static final SignalCodec END_GROUP
public static final SignalCodec BEGIN_ENUM
public static final SignalCodec VALID_VALUE
public static final SignalCodec END_ENUM
public static final SignalCodec BEGIN_SET
public static final SignalCodec CHOICE
public static final SignalCodec END_SET
public static final SignalCodec BEGIN_VAR_DATA
public static final SignalCodec END_VAR_DATA
public static final SignalCodec ENCODING
public static final SignalCodec NULL_VAL
public static SignalCodec[] values()
for (SignalCodec c : SignalCodec.values()) System.out.println(c);
public static SignalCodec 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 nullpublic short value()
public static SignalCodec get(short value)
value - encoded to be looked up.Copyright © 2013-2024 Real Logic Limited. All Rights Reserved.