Table of Contents

Class DeliverSm

Namespace
Inetlab.SMPP.PDU
Assembly
cs.temp.dll.dll
The deliver_sm is issued by the SMSC to send a message to an ESME. Using this command, the SMSC may route a short message to the ESME for delivery.
public class DeliverSm : SmppRequest<DeliverSmResp>, ISmppMessage, ISerializable
Inheritance
Object
DeliverSm
Implements
ISmppMessage
ISerializable
Inherited Members

Constructors

DeliverSm()

public DeliverSm()

DeliverSm(SerializationInfo, StreamingContext)

protected DeliverSm(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

Properties

Acknowledgement

Indicates SME originated Acknowledgement
public SMEAcknowledgement Acknowledgement { get; set; }

Property Value

SMEAcknowledgement

Concatenation

Gets concatenation parameters.
public Concatenation Concatenation { get; }

Property Value

Concatenation

ConcatenationKey

public string ConcatenationKey { get; }

Property Value

String

DataCoding

Indicates the encoding scheme of the short message.
public DataCodings DataCoding { get; set; }

Property Value

DataCodings

DestAddr

Destination address of destination SME.
public string DestAddr { get; set; }

Property Value

String

DestAddrNpi

Numbering Plan Indicator of destination SME.
public byte DestAddrNpi { get; set; }

Property Value

Byte

DestAddrTon

Type of number of destination SME.
public byte DestAddrTon { get; set; }

Property Value

Byte

EsmClass

Gets or sets special message attributes associated with the short message.
public byte EsmClass { get; set; }

Property Value

Byte
The esm class.

MessageFeature

Indicates GSM Network Specific Features associated with the short message.
public GSMSpecificFeatures MessageFeature { get; }

Property Value

GSMSpecificFeatures

MessageMode

Indicates message mode associated with the short message.
public MessageModes MessageMode { get; set; }

Property Value

MessageModes

MessageText

Gets message text in specified data coding.
public string MessageText { get; }

Property Value

String

MessageType

Indicates message type associated with the short message.
public MessageTypes MessageType { get; set; }

Property Value

MessageTypes

Notification

Indicates whether Intermediate notification is requested.
public IntermediateNotification Notification { get; set; }

Property Value

IntermediateNotification

Optional

Optional Parameters
public TLVCollection Optional { get; set; }

Property Value

TLVCollection

PacketBytes

Returns DeliverSm packet bytes
public byte[] PacketBytes { get; }

Property Value

Byte[]

PriorityFlag

Priority level. 0 lowest, 3 highest
public byte PriorityFlag { get; set; }

Property Value

Byte

ProtocolId

Protocol Identifier.
public byte ProtocolId { get; set; }

Property Value

Byte

Receipt

Gets or sets delivery receipt of submited short message.
public Receipt Receipt { get; set; }

Property Value

Receipt

RegisteredDelivery

Indicates if an ESME acknowledgement is required.
public byte RegisteredDelivery { get; set; }

Property Value

Byte

ServiceType

Indicates the SMS Application service associated with the message
public string ServiceType { get; set; }

Property Value

String

SMSCReceipt

public SMSCDeliveryReceipt SMSCReceipt { get; set; }

Property Value

SMSCDeliveryReceipt

SourceAddr

Address of SME which originated this message.
public string SourceAddr { get; set; }

Property Value

String

SourceAddrNpi

Numbering Plan Indicator for source.
public byte SourceAddrNpi { get; set; }

Property Value

Byte

SourceAddrTon

Type of Number for source address.
public byte SourceAddrTon { get; set; }

Property Value

Byte

UserDataPdu

Gets or sets user data of the short message.
public UserData UserDataPdu { get; set; }

Property Value

UserData

Methods

Clone()

Returns deep copy of current instance;
public DeliverSm Clone()

Returns

DeliverSm

CorrespondTo(SmppResponse)

public override bool CorrespondTo(SmppResponse response)

Parameters

response SmppResponse

Returns

Boolean

Deserialize(Byte[])

Deserializes byte array to the DeliverSm object
public static DeliverSm Deserialize(byte[] data)

Parameters

data Byte[]
Byte array to deseriaize

Returns

DeliverSm
Returns DeliverSm object

Serialize(DeliverSm)

Serializes DeliverSm object to the byte array
public static byte[] Serialize(DeliverSm deliver)

Parameters

deliver DeliverSm
DeliverSm object to serialize

Returns

Byte[]
Returns byte array

ToString()

public override string ToString()

Returns

String