Version

BaseBindResp

public abstract class BaseBindResp
Extends: PduResponse
BaseBindResp is an abstract base class for all bind response PDUs, including BindReceiverResp, BindTransmitterResp, and BindTransceiverResp. It encapsulates the system ID returned by the SMSC upon successful authentication and provides core functionality for bind-related responses.

Fields (Inherited from Pdu)

PDU_HEADER_LENGTH, PDU_INT_LENGTH

Constructor:

public BaseBindResp(CommandType commandId, String name)
    commandId: SMPP bind response command (e.g., BIND_RECEIVER_RESP).
    name: Human-readable name of the response PDU.
Initializes a bind response with the specified command type and name.

Methods:

String getSystemId() Returns the system ID assigned or acknowledged by the SMSC.
void setSystemId(String value) Sets the system ID to be returned in the response.
void readBody(ByteBuf buffer) Deserializes the body from a binary stream.
void writeBody(ByteBuf buffer) Serializes the body to a binary stream.
int calculateByteSizeOfBody() Calculates the byte size of the response body.
void appendBodyToString(StringBuilder buffer) Appends a readable version of the response body for debugging or logging.

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