Version
DeliverSm
Corresponding SMPP Command: deliver_sm
Extends: BaseSm<DeliverSmResp>
DeliverSm represents the SMPP deliver_sm command. It is used by an SMSC to deliver a message to an ESME. This PDU may contain a mobile-originated message (MO) or a delivery receipt, depending on how the message was submitted and acknowledged. The DeliverSm class wraps all delivery-related metadata, including sender/recipient info, message body, and encoding.
Fields (Inherited from Pdu)
PDU_HEADER_LENGTH, PDU_INT_LENGTH
Constructor:
public DeliverSm()
Initializes a new DeliverSm instance with no default content. Use inherited methods to set addressing, encoding, and message data.
Methods:
DeliverSmResp createResponse() | Creates a corresponding DeliverSmResp to acknowledge this message. |
Class<DeliverSmResp> getResponseClass() | Returns DeliverSmResp.class as the expected response type. |
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!