Version
MessageStatus
public enum MessageStatus
Extends Enum<MessageStatus>
Defines the possible command status codes returned in SMPP responses. These values indicate the success or failure of SMPP operations, such as submitting messages, querying message states, or handling broadcast messaging.
Enum Constants:
Constant | Description |
OK | No error. Operation successful. |
INVMSGLEN | Message length is invalid. |
INVCMDLEN | Command length is invalid. |
INVCMDID | Command ID is invalid or unsupported. |
INVBNDSTS | Incorrect bind status for a given command. |
ALYBND | Bind failed - already bound. |
INVPRTFLG | Invalid priority flag. |
INVREGDLVFLG | Invalid registered delivery flag. |
SYSERR | System error occurred. |
INVSRCADR | Invalid source address. |
INVDSTADR | Invalid destination address. |
INVMSGID | Invalid message ID. |
BINDFAIL | Bind failed for unspecified reasons. |
INVPASWD | Invalid password. |
INVSYSID | Invalid system ID. |
CANCELFAIL | Message cancel operation failed. |
REPLACEFAIL | Replace operation failed. |
MSGQFUL | Message queue is full. |
INVSERTYP | Invalid service type. |
RESERVED | Reserved for future use. |
INVNUMDESTS | Invalid number of destinations. |
INVDLNAME | Invalid distribution list name. |
INVDESTFLAG | Destination flag is invalid. |
INVSUBREP | Invalid submit with replace flag. |
INVESMCLASS | Invalid ESM class. |
CNTSUBDL | Cannot submit to distribution list. |
SUBMITFAIL | Submit operation failed. |
INVSRCTON | Invalid source TON (Type of Number). |
INVSRCNPI | Invalid source NPI (Numbering Plan Indicator). |
INVDSTTON | Invalid destination TON. |
INVDSTNPI | Invalid destination NPI. |
INVSYSTYP | Invalid system type. |
INVREPFLAG | Invalid replace flag. |
INVNUMMSGS | Invalid number of messages. |
THROTTLED | Throttling error: too many messages. |
INVSCHED | Invalid scheduled delivery time. |
INVEXPIRY | Invalid message validity period. |
INVDFTMSGID | Invalid default message ID. |
X_T_APPN | SMPP application error (generic). |
X_P_APPN | SMPP protocol error. |
X_R_APPN | SMPP routing error. |
QUERYFAIL | Message query failed. |
INVOPTPARSTREAM | Invalid optional parameter stream. |
OPTPARNOTALLWD | Optional parameter not allowed. |
INVPARLEN | Invalid parameter length. |
MISSINGOPTPARAM | Missing expected optional parameter. |
INVOPTPARAMVAL | Invalid value for optional parameter. |
DELIVERYFAILURE | Generic delivery failure. |
UNKNOWNERR | Unknown error occurred. |
SERTYPUNAUTH | Service type unauthorized. |
PROHIBITED | Message prohibited. |
SERTYPUNAVAIL | Service type unavailable. |
SERTYPDENIED | Service type denied. |
INVDCS | Invalid data coding scheme. |
INVSRCADDRSUBUNIT | Invalid source address subunit. |
INVDSTADDRSUBUNIT | Invalid destination address subunit. |
INVBCASTFREQINT | Invalid broadcast frequency interval. |
INVBCASTALIAS_NAME | Invalid broadcast alias name. |
INVBCASTAREAFMT | Invalid broadcast area format. |
INVNUMBCAST_AREAS | Invalid number of broadcast areas. |
INVBCASTCNTTYPE | Invalid broadcast content type. |
INVBCASTMSGCLASS | Invalid broadcast message class. |
Methods:
public static MessageStatus[] values() | Returns an array of constants in the order they are declared. |
public static MessageStatus valueOf(String name) | Returns a constant with the specified name. |
public static MessageStatus fromInt(int i) | Maps an integer to a corresponding MessageStatus enum. |
public int getValue() | Returns the numeric SMPP status code associated with the 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!