Class SmppClient
SMPP protocol client class for connection with an SMSC over a TCP/IP and for sending or receiving short messages to and from the SMSC.
Implements
Inherited Members
Namespace: Inetlab.SMPP
Assembly: Inetlab.SMPP.dll
Syntax
public class SmppClient : SmppClientBase, IDisposable
Constructors
Name | Description |
---|---|
SmppClient() |
Fields
Name | Description |
---|---|
ForceDisconnect |
Properties
Name | Description |
---|---|
ClientCertificates | Defines collection of Client Certificates |
ConnectionRecovery | Indicates whether the connection should be recovered. |
ConnectionRecoveryDelay | Gets or sets the delay before the connection will be recovered. Default is 2 minutes. |
EnabledSslProtocols | Defines enabled versions of SSL Protocols for SMPP client. |
Methods
Name | Description |
---|---|
Bind(Bind) | |
Bind(String, String, ConnectionMode) | |
BindAsync(Bind) | Sends Bind PDU to SMPP Server. Performs authentication on the server. |
BindAsync(String, String, ConnectionMode) | Sends Bind PDU to SMPP Server. Performs authorization on the server. |
Cancel(SmeAddress) | |
Cancel(CancelSm) | |
Cancel(String, String) | |
CancelAsync(SmeAddress) | Cancels previously submitted short message that is still pending delivery. |
CancelAsync(CancelSm) | Cancels previously submitted short message that is still pending delivery. |
CancelAsync(String, String) | Cancels previously submitted short message that is still pending delivery. |
Connect(EndPoint) | |
Connect(String, Int32) | |
ConnectAsync(EndPoint) | Connect to SMSC using EndPoint instance |
ConnectAsync(String, Int32) | Connect to SMPP server using hostname and port number. |
DisconnectAsync() | |
Dispose(Boolean) | Releases resources used by the Inetlab.SMPP.SmppClient. |
Query(QuerySm) | |
Query(String, SmeAddress) | |
QueryAsync(QuerySm) | Query the status of a previously submitted short message. |
QueryAsync(String, SmeAddress) | Query the status of a previously submitted short message. |
Replace(ReplaceSm) | |
ReplaceAsync(ReplaceSm) | Replaces a previously submitted short message that is still pending delivery. |
Submit(IBuilder<SubmitMulti>) | |
Submit(IBuilder<SubmitSm>) | |
Submit(SubmitMulti) | |
Submit(SubmitMulti[]) | |
Submit(SubmitSm) | |
Submit(SubmitSm[]) | |
Submit(IEnumerable<SubmitMulti>) | |
Submit(IEnumerable<SubmitSm>) | |
SubmitAsync(IBuilder<SubmitMulti>) | Submits an array of SubmitMulti messages from SMS builder. |
SubmitAsync(IBuilder<SubmitSm>) | Submits an array of SubmitSm messages from SMS builder. |
SubmitAsync(SubmitMulti) | Submits a SubmitMulti message to the SMSC |
SubmitAsync(SubmitMulti[]) | Submits an array of SubmitMulti messages to the SMSC. |
SubmitAsync(SubmitSm) | Submits a SubmitSm message to the SMSC |
SubmitAsync(SubmitSm[]) | Submits an array of SubmitSm messages to the SMSC. |
SubmitAsync(IEnumerable<SubmitMulti>) | Submits an array of SubmitMulti messages to the SMSC. |
SubmitAsync(IEnumerable<SubmitSm>) | Submits a collection of SubmitSm messages to the SMSC. |
Events
Name | Description |
---|---|
evAlertNotification | Occurs when received AlertNotification PDU |
evDeliverSm | Occurs when receiving DeliverSm PDU |
evRecoverySucceeded | Occurs when connection recovery is succeeded. |
evServerCertificateValidation | Occurs when validating server certificate |