Version

BaseBind

public abstract class BaseBind
extends PduRequest
BaseBind is an abstract subclass of PduRequest used as the foundation for all bind commands in SMPP (BindReceiver, BindTransmitter, BindTransceiver). It encapsulates the authentication and session parameters required to initiate a bind with the SMSC.

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

PDU_HEADER_LENGTH, PDU_INT_LENGTH

Constructor:

public BaseBind(CommandType commandId, String name)
    commandId: SMPP command identifier (e.g., BIND_RECEIVER).
    name: Human-readable name of the bind command.
Initializes a new bind request with the specified command type and name.

Methods:

void setSystemId(String value) Sets the system ID for authentication.
String getSystemId() Retrieves the system ID.
void setPassword(String value) Sets the password used for authentication.
String getPassword() Retrieves the password.
void setSystemType(String value) Defines the type of system (e.g., "SMPP client").
String getSystemType() Retrieves the system type.
void setInterfaceVersion(SmppVersion value) Sets the SMPP protocol version.
SmppVersion getInterfaceVersion() Gets the SMPP version in use.
void setAddressRange(Address value) Sets the address range filter for the bind.
Address getAddressRange() Returns the configured address range.
int calculateByteSizeOfBody() Calculates the size of the PDU body in bytes.
void appendBodyToString(StringBuilder buffer) Appends body data to the string buffer (for logging/debugging).
void readBody(ByteBuf buffer) Reads the PDU body from the buffer.
void writeBody(ByteBuf buffer) Writes the PDU body into the buffer.

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

createGenericNack, createResponse, getResponseClass

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