Table of Contents

Class ReplaceSm

Namespace
Inetlab.SMPP.PDU
Assembly
Inetlab.SMPP.dll

ReplaceSm PDU to replace a previously submitted short message that is still pending delivery.

public class ReplaceSm : SmppRequest<ReplaceSmResp>
Inheritance
ReplaceSm
Inherited Members
Extension Methods

Constructors

ReplaceSm()

public ReplaceSm()

ReplaceSm(SmppHeader)

public ReplaceSm(SmppHeader header)

Parameters

header SmppHeader

Properties

Acknowledgement

public SMEAcknowledgement Acknowledgement { get; set; }

Property Value

SMEAcknowledgement

DefaultMessageId

Indicates the short message to send from a list of predefined (�canned�) short messages stored on the SMSC. If not using an SMSC canned message, set to 0.

public byte DefaultMessageId { get; set; }

Property Value

byte

MessageId

SMSC message ID of the message to be replaced. This must be the message ID allocated to the original short message when submitted to the SMSC by the SubmitSm command, and returned in the SubmitSmResp message by the SMSC.

public string MessageId { get; set; }

Property Value

string

MessageText

Gets message text in specified data coding.

[Obsolete("Use the method replaceSm.GetMessageText(client.EncodingMapper)")]
public string MessageText { get; }

Property Value

string

Notification

public IntermediateNotification Notification { get; set; }

Property Value

IntermediateNotification

RegisteredDelivery

Indicator to signify if an SMSC delivery receipt or an SME acknowledgement is required.

public byte RegisteredDelivery { get; set; }

Property Value

byte

SMSCReceipt

public SMSCDeliveryReceipt SMSCReceipt { get; set; }

Property Value

SMSCDeliveryReceipt

ScheduledDeliveryTime

The short message is to be scheduled by the SMSC for delivery. Set to NULL for immediate message delivery.

public string ScheduledDeliveryTime { get; set; }

Property Value

string

SourceAddress

Address of SME which originated this message.

public SmeAddress SourceAddress { get; set; }

Property Value

SmeAddress

UserData

Gets or sets user data (UD) with user data header (UDH)

public UserData UserData { get; set; }

Property Value

UserData

ValidityPeriod

The validity period of this message. Set to NULL to request the SMSC default validity period. Format 'YYMMDDhhmmsstnnp'.

public string ValidityPeriod { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.