public enum MessageType extends java.lang.Enum<MessageType>
Enum Constant and Description |
---|
CONV_ABORT |
DEFAULT |
ESME_DEL_ACK |
ESME_MAN_ACK |
INTER_DEL_NOTIF |
SME_DEL_ACK |
SME_MAN_ACK |
SMSC_DEL_RECEIPT |
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,
MessageType messageType) |
boolean |
containedIn(byte esmClass) |
boolean |
containedIn(ESMClass esmClass) |
byte |
value() |
static MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType DEFAULT
public static final MessageType ESME_DEL_ACK
public static final MessageType ESME_MAN_ACK
public static final MessageType SMSC_DEL_RECEIPT
public static final MessageType SME_DEL_ACK
public static final MessageType SME_MAN_ACK
public static final MessageType CONV_ABORT
public static final MessageType INTER_DEL_NOTIF
public static final byte CLEAR_BYTE
public static final byte MASK_BYTE
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType 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, MessageType messageType)
public static byte clean(byte esmClass)