Enum ClaxonTag
- java.lang.Object
-
- java.lang.Enum<ClaxonTag>
-
- org.smallmind.phalanx.wire.transport.ClaxonTag
-
- All Implemented Interfaces:
Serializable,Comparable<ClaxonTag>
public enum ClaxonTag extends Enum<ClaxonTag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACQUIRE_REQUEST_TRANSPORTACQUIRE_RESULTCOMPLETE_CALLBACKCONSTRUCT_MESSAGEREQUEST_TRANSIT_TIMERESPONSE_TRANSIT_TIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplay()static ClaxonTagvalueOf(String name)Returns the enum constant of this type with the specified name.static ClaxonTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACQUIRE_REQUEST_TRANSPORT
public static final ClaxonTag ACQUIRE_REQUEST_TRANSPORT
-
CONSTRUCT_MESSAGE
public static final ClaxonTag CONSTRUCT_MESSAGE
-
REQUEST_TRANSIT_TIME
public static final ClaxonTag REQUEST_TRANSIT_TIME
-
RESPONSE_TRANSIT_TIME
public static final ClaxonTag RESPONSE_TRANSIT_TIME
-
COMPLETE_CALLBACK
public static final ClaxonTag COMPLETE_CALLBACK
-
ACQUIRE_RESULT
public static final ClaxonTag ACQUIRE_RESULT
-
-
Method Detail
-
values
public static ClaxonTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClaxonTag c : ClaxonTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClaxonTag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDisplay
public String getDisplay()
-
-