Class SmppOutbindServerClient
A client connected to SmppServer after receiving Outbind PDU.
public sealed class SmppOutbindServerClient : SmppClientBase, IDisposable
- Inheritance
-
SmppOutbindServerClient
- Implements
- Inherited Members
Methods
BindAsync(Bind)
Sends Bind PDU to SMPP.
public Task<BindResp> BindAsync(Bind pdu)
Parameters
pdu
BindThe Bind PDU.
Returns
Exceptions
- InvalidOperationException
Thrown when PDU serialization is failed.
- ArgumentNullException
Thrown when request instance is null.
- GenericNackSmppException
Thrown when remote side returns negative acknowledgement (GENERIC_NACK) response, which means invalid or unknown command.
BindAsync(string, string)
Sends Bind PDU to SMSC.
public Task<BindResp> BindAsync(string systemId, string password)
Parameters
Returns
Exceptions
- InvalidOperationException
Thrown when PDU serialization is failed.
- NotSupportedException
When None specified.
Events
evDeliverSm
Occurs when receiving DeliverSm PDU
public event DeliverSmEventHandler evDeliverSm