This component is part of the IP Works Enterprise ASP.NET Component Library.
The Smpp component implements a lightweight message transmission interface using the Short Message Peer-to-Peer protocol, most known for its use in cellular text messaging.
NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.
Remarks
The Smpp component can only bind as a transmitter, and thus can receive nothing outside of server command responses. However, it can send single- and multi-recipient messages, and can upload data.
Using Smpp is quite easy. First, simply set the SMPPServer, SMPPPort, and, if needed, the SMPPVersion properties. Second, a single call to the Connect method with a specified user id and password will connect the component.
Transmitting messages is just as easy. You can set the RecipientAddress and RecipientType properties directly, or just use AddRecipient method to add recipients one-by-one to the recipient list. After all recipients have been added, a single call to the SendMessage method will transmit the specified message. If the send is successful, the method will set and return the value of the MessageId property. Otherwise, an Error event will fire for each unsuccessful message destination.
The Smpp component supports message and data transmission, as well as auxiliary operations such as CheckMessage and ReplaceMessage. All non-implemented features of the protocol are supported through the SendCommand method and PITrail event. Due to the nature of the protocol, all methods and operations are implemented synchronously.
More Information: http://www.nsoftware.com/products/component/smpp.aspx |