Table of Contents

Class SmppOutbindServerClient

Namespace
Inetlab.SMPP
Assembly
Inetlab.SMPP.dll

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 Bind

The Bind PDU.

Returns

Task<BindResp>

An asynchronous result that yields a BindResp.

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

systemId string

Identifier for the system.

password string

The password.

Returns

Task<BindResp>

An asynchronous result that yields a BindResp.

Exceptions

InvalidOperationException

Thrown when PDU serialization is failed.

NotSupportedException

When None specified.

Events

evDeliverSm

Occurs when receiving DeliverSm PDU

public event DeliverSmEventHandler evDeliverSm

Event Type

DeliverSmEventHandler