Version
SubmitSm
Corresponding SMPP Command: submit_sm
Extends: BaseSm<SubmitSmResp>
SubmitSm represents the SMPP submit_sm command, which is used by an ESME to send an SMS to an SMSC for delivery. This class handles the construction of the outbound message, including addressing, message content, and delivery settings. It is one of the most commonly used PDUs in SMPP-based systems.
Fields (Inherited from Pdu)
PDU_HEADER_LENGTH, PDU_INT_LENGTH
Constructor:
public SubmitSm()
Initializes a new instance of SubmitSm. This object must be configured with source and destination addresses, message content, and other delivery parameters using inherited setters.
Methods:
SubmitSmResp createResponse() | Creates a SubmitSmResp in response to this request. |
Class<SubmitSmResp> getResponseClass() | Returns the expected response type (SubmitSmResp.class). |
Methods inherited from class com.mobius.software.protocols.smpp.BaseSm |
|
appendBodyToString, calculateByteSizeOfBody, getDataCoding, getDefaultMsgId, getDestAddress, getEsmClass, getPriority, getProtocolId, getRegisteredDelivery, getReplaceIfPresent, getScheduleDeliveryTime, getServiceType, getShortMessage, getShortMessageLength, getSourceAddress, getValidityPeriod, readBody, setDataCoding, setDefaultMsgId, setDestAddress, setEsmClass, setPriority, setProtocolId, setRegisteredDelivery, setReplaceIfPresent, setScheduleDeliveryTime, setServiceType, setShortMessage, setSourceAddress, setValidityPeriod, writeBody | |
Methods inherited from class com.mobius.software.protocols.smpp.PduRequest |
|
createGenericNack | |
Methods inherited from class com.mobius.software.protocols.smpp.Pdu |
|
addOptionalParameter, calculateAndSetCommandLength, getCommandId, getCommandLength, getCommandStatus, getName, getOptionalParameter, getOptionalParameterCount, getOptionalParameters, getReferenceObject, getSequenceNumber, hasCommandLengthCalculated, hasOptionalParameter, hasSequenceNumberAssigned, isRequest, isResponse, readOptionalParameters, removeCommandLength, removeOptionalParameter, removeSequenceNumber, setCommandLength, setCommandStatus, setOptionalParameter, setReferenceObject, setSequenceNumber, toString, writeOptionalParameters | |
Methods inherited from class java.lang.Object |
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Start innovating with Mobius
What's next? Let's talk!