Version
CommandType
public enum CommandType
Extends Enum<CommandType>
Represents all SMPP command identifiers used in request/response PDU operations. Each enum constant corresponds to a specific SMPP command as defined by the protocol specification.
Enum Constants:
Constant | Description |
CMD_ID_BIND_RECEIVER | Bind to SMSC as a receiver. |
CMD_ID_BIND_TRANSMITTER | Bind to SMSC as a transmitter. |
CMD_ID_QUERY_SM | Query short message status. |
CMD_ID_SUBMIT_SM | Submit a short message. |
CMD_ID_DELIVER_SM | Deliver a short message. |
CMD_ID_UNBIND | Unbind from SMSC. |
CMD_ID_REPLACE_SM | Replace short message content. |
CMD_ID_CANCEL_SM | Cancel a submitted short message. |
CMD_ID_BIND_TRANSCEIVER | Bind to SMSC as both transmitter and receiver. |
CMD_ID_OUTBIND | Outbind request (SMSC initiated). |
CMD_ID_ENQUIRE_LINK | Enquire link status (heartbeat). |
CMD_ID_SUBMIT_MULTI | Submit a short message to multiple recipients. |
CMD_ID_ALERT_NOTIFICATION | Notify of mobile station status change. |
CMD_ID_DATA_SM | Transmit data message. |
CMD_ID_BROADCAST_SM | Submit broadcast message. |
CMD_ID_QUERY_BROADCAST_SM | Query broadcast message status. |
CMD_ID_CANCEL_BROADCAST_SM | Cancel broadcast message. |
CMD_ID_GENERIC_NACK | Generic negative acknowledgment. |
CMD_ID_BIND_RECEIVER_RESP | Response to CMD_ID_BIND_RECEIVER. |
CMD_ID_BIND_TRANSMITTER_RESP | Response to CMD_ID_BIND_TRANSMITTER. |
CMD_ID_QUERY_SM_RESP | Response to CMD_ID_QUERY_SM. |
CMD_ID_SUBMIT_SM_RESP | Response to CMD_ID_SUBMIT_SM. |
CMD_ID_DELIVER_SM_RESP | Response to CMD_ID_DELIVER_SM. |
CMD_ID_UNBIND_RESP | Response to CMD_ID_UNBIND. |
CMD_ID_REPLACE_SM_RESP | Response to CMD_ID_REPLACE_SM. |
CMD_ID_CANCEL_SM_RESP | Response to CMD_ID_CANCEL_SM. |
CMD_ID_BIND_TRANSCEIVER_RESP | Response to CMD_ID_BIND_TRANSCEIVER. |
CMD_ID_ENQUIRE_LINK_RESP | Response to CMD_ID_ENQUIRE_LINK. |
CMD_ID_SUBMIT_MULTI_RESP | Response to CMD_ID_SUBMIT_MULTI. |
CMD_ID_DATA_SM_RESP | Response to CMD_ID_DATA_SM. |
CMD_ID_BROADCAST_SM_RESP | Response to CMD_ID_BROADCAST_SM. |
CMD_ID_QUERY_BROADCAST_SM_RESP | Response to CMD_ID_QUERY_BROADCAST_SM. |
CMD_ID_CANCEL_BROADCAST_SM_RESP | Response to CMD_ID_CANCEL_BROADCAST_SM. |
CMD_ID_UNKNOWN | Unknown command type (fallback/default). |
Methods:
public static CommandType[] values() | Returns an array of all enum constants in declared order. |
public static CommandType valueOf(String name) | Returns enum constant with the given name. Requires exact match. |
public static CommandType fromInt(int i) | Returns the CommandType corresponding to the given integer value. |
public int getValue() | Returns the integer value associated with the specific CommandType. |
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!