Version
PduResponse
public abstract class PduResponse
extends Pdu
The base class for all response PDUs. PduResponse is an abstract subclass of Pdu used to represent response PDUs in the SMPP protocol. These objects are returned in reaction to PduRequest messages and include a command status and optional result message.
Fields inherited from class com.mobius.software.protocols.smpp.Pdu
PDU_HEADER_LENGTH, PDU_INT_LENGTH
Constructor:
public PduResponse(CommandType commandId, String name)
commandId: SMPP command identifier (e.g., SUBMIT_SM_RESP).
name: Human-readable name of the response command.
Initializes a new response PDU with a specific command identifier and human-readable name.
Methods:
void setResultMessage(String value) | Sets a descriptive result message. |
String getResultMessage() | Retrieves the result message, if present. |
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, readBody, readOptionalParameters, removeCommandLength, removeOptionalParameter, removeSequenceNumber, setCommandLength, setCommandStatus, setOptionalParameter, setReferenceObject, setSequenceNumber, toString, writeBody, 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!