Class SmppServer
The SMPP server to which an SmppClient can be connected.
Implements
Inherited Members
Namespace: Inetlab.SMPP
Assembly: Inetlab.SMPP.dll
Syntax
public sealed class SmppServer : IDisposable
Constructors
Name | Description |
---|---|
SmppServer(IPEndPoint) |
Properties
Name | Description |
---|---|
ConnectedClients | Gets a list of connected clients |
ConnectionOptions | |
EnabledSslProtocols | Defines enabled versions of SSL Protocols for the SMPP client. |
Logger | |
Name | Name of the server. Used for logging. |
ServerCertificate | Gets or sets server certificate for SSL connection |
Methods
Name | Description |
---|---|
Dispose() | |
RunAsync(CancellationToken) | Runs the SMPP server. |
Start() | Starts server asynchronously. Call Stop method to stop the server. |
Start(CancellationToken) | Starts server. Stops on cancellation token. |
StartAsync(CancellationToken) | Starts the server asynchronously. |
Stop() | Stop SMPP server |
StopAsync() | Stops the server. |
Events
Name | Description |
---|---|
evClientBind | Occurs when SmppClient bind with server |
evClientCancelSm | Occurs when SmppClient sent CANCEL_SM PDU |
evClientCertificateValidation | Validating client certificate. |
evClientConnected | Occurs when SmppClient is connected |
evClientDataSm | Occurs when SmppClient sent DATA_SM PDU |
evClientDisconnected | Occurs when SmppClient is disconnected |
evClientEnquireLink | Occurs when SmppClient sent ENQUIRE_LINK PDU |
evClientOutBind | Occurs when MC initiate a SMPP session |
evClientQuerySm | Occurs when SmppClient sent QUERY_SM PDU |
evClientReplaceSm | Occurs when SmppClient sent REPLACE_SM PDU |
evClientSubmitMulti | Occurs when SmppClient sent SUBMIT_MULTI PDU |
evClientSubmitSm | Occurs when SmppClient sent SUBMIT_SM PDU |
evClientUnBind | Occurs when SmppClient unbind from server |
evServerStarted | Occurs when server is started |