Version
EsmClass
public enum EsmClass
Extends Enum<EsmClass>
Defines various message modes and features under the ESM class field in SMPP. This field controls how messages are processed and delivered between the ESME and the SMSC.
Fields:
MT_MASK
Enum Constants:
Constant | Description |
MM_DEFAULT | Default message mode. Indicates a standard short message. |
MM_DATAGRAM | Unstructured message, no delivery acknowledgment expected. |
MM_TRANSACTION | Transactional message, expects a response from the recipient. |
MM_STORE_FORWARD | Message will be stored and forwarded by the SMSC if the recipient is unavailable. |
MT_SMSC_DELIVERY_RECEIPT | Requests delivery receipt from SMSC. |
MT_ESME_DELIVERY_RECEIPT | Requests delivery receipt directly to the ESME (sender). |
MT_MANUAL_USER_ACK | Requests manual user acknowledgment upon receipt. |
INTERMEDIATE_DELIVERY_RECEIPT_FLAG | Requests intermediate delivery receipts (e.g., accepted but not delivered). |
UDHI | Indicates presence of a User Data Header (UDH) in the message content. |
REPLY_PATH | Enables the SMS reply path feature, allowing reply routing. |
Methods:
public static EsmClass[] values() | Returns all enum constants in their declared order. |
public static EsmClass valueOf(String name) | Returns the constant with the specified name. |
public static EsmClass fromInt(int i) | Converts a numeric value to its corresponding EsmClass constant. |
public int getValue() | Returns the numeric representation of the enum constant. |
Methods inherited from class java.lang.Enum |
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | |
Methods inherited from class java.lang.Object |
|
getClass, notify, notifyAll, wait, wait, wait |
Start innovating with Mobius
What's next? Let's talk!