[RFC] Updated Net_SMPP & Net_SMPP_Client
| From: | Ian Eure | Date: | Wed, 08 Jun 2005 08:00:28 +0000 |
| Subject: | [RFC] Updated Net_SMPP & Net_SMPP_Client | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-38023@lists.php.net to get a copy of this message | ||
Would anyone who had issues with my previous versions of these proposed
packages please take another look at them?
I've cleaned up the use of globals, and reworked the vendor framework so you
can have multiple vendor connections at the same time. The vendor selection
code has been moved out of Net_SMPP and into Net_SMPP_Client. The practical
upshot of this is that you're limited to one vendor per Net_SMPP_Client
instance, instead of one vendor for all Net_SMPP_Client instances. This seems
reasonable to me, as I don't know why you'd need to have support for multiple
vendor extensions while connected to the same SMSC.
I'm considering moving the $_defs and $_vdefs class vars into statics like I
did for the stuff that was in globals, to keep the object member vars clean
and make it easier to see what's set in a specific PDU.
Thoughts? Comments?
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]