Version

SubmitMultiResp

Corresponding SMPP Command: deliver_sm_resp
Extends: BaseSmResp
SubmitMultiResp represents the SMPP submit_multi_resp PDU. It is returned by the SMSC in response to a SubmitMulti request. In addition to a standard message_id, it can include a list of unsuccessful SME addresses if message delivery to certain destinations failed.

Fields inherited from class com.mobius.software.protocols.smpp.Pdu

PDU_HEADER_LENGTH, PDU_INT_LENGTH

Constructor:

public SubmitMultiResp()
Initializes an empty SubmitMultiResp instance. Use setMessageId() and addUnsucessfulSME() to populate fields as needed.

Methods:

void addUnsucessfulSME(UnsucessfulSME unsucessfulSME)

Adds a failed delivery destination to the response.

Throws SmppInvalidArgumentException if the input is invalid.

int getNumberOfUnsucessfulDest() Returns the number of destination addresses that failed.
List<UnsucessfulSME> getUnsucessfulSmes() Returns a list of failed SME addresses with associated error codes.
void readBody(ByteBuf buffer) Deserializes the full body from the input buffer (overrides BaseSmResp).
int calculateByteSizeOfBody() Computes the size of the PDU body (overrides BaseSmResp).
void writeBody(ByteBuf buffer) Serializes the body into the output buffer (overrides BaseSmResp).

Methods inherited from class com.mobius.software.protocols.smpp.BaseSmResp

appendBodyToString, getMessageId, setMessageId

Methods inherited from class com.mobius.software.protocols.smpp.PduResponse

getResultMessage, setResultMessage

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!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com