Version

ReplaceSmResp

Corresponding SMPP Command: query_sm_resp
Extends: PduResponse
ReplaceSmResp represents the SMPP replace_sm_resp PDU. It is returned by the SMSC in response to a ReplaceSm request, which instructs the SMSC to replace the contents of a previously submitted but undelivered message. This response indicates whether the replace operation was successful.

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

PDU_HEADER_LENGTH, PDU_INT_LENGTH

Constructor:

public ReplaceSmResp()
Creates an empty ReplaceSmResp instance. Since this response type carries no payload fields, no additional setup is required beyond setting the status or optional parameters if needed.

Methods:

void readBody(ByteBuf buffer) Deserializes the PDU body from binary input. Implementation is minimal since this response has no body fields.
int calculateByteSizeOfBody() Returns the size of the body in bytes (0).
void writeBody(ByteBuf buffer) Serializes the body to binary output.
void appendBodyToString(StringBuilder buffer) Appends a human-readable representation of the body for debugging (usually empty).

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