public enum MessageMode extends java.lang.Enum<MessageMode>
Enum Constant and Description |
---|
DATAGRAM |
DEFAULT |
STORE_AND_FORWARD |
TRANSACTION |
Modifier and Type | Field and Description |
---|---|
static byte |
CLEAR_BYTE |
static byte |
MASK_BYTE |
Modifier and Type | Method and Description |
---|---|
static byte |
clean(byte esmClass) |
static byte |
compose(byte esmClass,
MessageMode messageMode) |
boolean |
containedIn(byte esmClass) |
boolean |
containedIn(ESMClass esmClass) |
byte |
value() |
static MessageMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageMode DEFAULT
public static final MessageMode DATAGRAM
public static final MessageMode TRANSACTION
public static final MessageMode STORE_AND_FORWARD
public static final byte CLEAR_BYTE
public static final byte MASK_BYTE
public static MessageMode[] values()
for (MessageMode c : MessageMode.values()) System.out.println(c);
public static MessageMode 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 byte value()
public boolean containedIn(ESMClass esmClass)
public boolean containedIn(byte esmClass)
public static byte compose(byte esmClass, MessageMode messageMode)
public static byte clean(byte esmClass)