Base Classes
Before we dive into individual class descriptions, it's important to understand the class hierarchy that underpins the Mobius SMPP API. All SMPP commands - both requests and responses - inherit from a shared set of base classes that define common behavior for encoding, decoding, and managing PDU content.
This inheritance model provides a consistent interface for working with SMPP commands, whether you're handling a SubmitSm, a BindReceiver, or a DeliverSmResp.
Hierarchy
Pdu
├── PduRequest<T extends PduResponse>
│ ├── BaseBind<T> // Used for bind-related commands
│ │ └── BindReceiver, BindTransmitter, BindTransceiver
│ ├── BaseSm<T> // Used for message-related commands
│ │ └── SubmitSm, DeliverSm, SubmitMulti, etc.
│ └── Other request types (QuerySm, CancelSm, etc.)
└── PduResponse
└── SubmitSmResp, DeliverSmResp, BindReceiverResp, etc.
Start innovating with Mobius
What's next? Let's talk!