|» Metadata||» Status|
Net_SMPP is a basic implementation of the SMPP (Short Message Peer-to-Peer) protocol. This protocol is used in the wireless industry for exchanging SMS messages.
This only implements portions of the base protocol, and does not include a client or server. It's not intended to be directly used by end-users, but by package developers writing SMPP ESMEs or SMSCs. I have written a client, Net_SMPP_Client, which i have proposed as well.
I have also written a SMPP driver for Net_SMS, which I have sent to the package maintainers for inclusion. People wishing to send SMS messages via SMPP should use one of those packages to do so.
This is the main class, and what developers will interact with to get instances of the individual command classes. It's used statically.
This class handles parsing and generation of the PDU header, functions and data which operate on the header portion of the PDU, and other functions common to this data.
This class extends Net_SMPP_PDU, and contains higher-level PDU functions and data. It contains constants for PDU parameters which are shared among multiple PDUs; for example, the data_coding parameter is present in both the submit_sm and data_sm PDUs. It also handles generation and parsing of the headers needed for optional parameters.
These classes contain the parameter definitions and PDU-specific data for a single PDU. These classes also contain variables for each parameter which may be set in the PDU.
This class contains code for loading and working with vendor extensions to the SMPP protocol. Specific vendor implementations must extend this class.
These classes contain the vendor-specific data necessary for a vendor extension to work.
These classes extend the Net_SMPP_Command_* classes, and have additional vendor parameters or vendor changes from the plain SMPP PDUs. For example, Net_SMPP_Vendor_mBlox_Command_submit_sm contains the mBlox PSMS extensions to the submit_sm SMPP command.
There are quite a few files in this package, so I'm only extracting the most important. Please look at the PEAR package to get a better idea of what's included.
Because Net_SMPP is written to conform to the SMPP v3.4 specification, there is one place where it doesn't fully adhere to PEAR CS for url=http://pear.php.net/manual/en/standards.naming.php]Naming Conventions. SMPP commands are specified with underscores in the specification, and the classes and filenames follow this standard. For example, the "submit_sm" command is in the Net_SMPP_Command_submit_sm class, which is in Net/SMPP/Command/submit_sm.php.
I believe this is acceptable; other packages, such as PHP_Compat, do this same thing for the same reasons. Other people disagree. There was a long thread on pear-dev about this, with no resolution reached.
If you feel that this is a problem, please make your vote conditional, and note that this is the reason in your vote comment.
|» Dependencies||» Links|
|» Timeline||» Changelog|