public enum TOMMessageType extends java.lang.Enum<TOMMessageType>
| Enum Constant and Description |
|---|
ASK_STATUS |
ORDERED_REQUEST |
RECONFIG |
REPLY |
STATUS_REPLY |
UNORDERED_REQUEST |
| Modifier and Type | Method and Description |
|---|---|
static TOMMessageType |
fromInt(int i) |
int |
toInt() |
static TOMMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TOMMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TOMMessageType ORDERED_REQUEST
public static final TOMMessageType UNORDERED_REQUEST
public static final TOMMessageType REPLY
public static final TOMMessageType RECONFIG
public static final TOMMessageType ASK_STATUS
public static final TOMMessageType STATUS_REPLY
public static TOMMessageType[] values()
for (TOMMessageType c : TOMMessageType.values()) System.out.println(c);
public static TOMMessageType 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 nullpublic int toInt()
public static TOMMessageType fromInt(int i)