Class DataSm
- Namespace
- Inetlab.SMPP.PDU
- Assembly
- cs.temp.dll.dll
This command is used to transfer data between the SMSC and the ESME. It may be used by
both the ESME and SMSC.
public class DataSm : SmppRequest<DataSmResp>, ISerializable, ISmppHeader, IOptionalParameters, ISourceAddress, IConcatenation
- Inheritance
-
ObjectDataSm
- Implements
-
ISerializableISmppHeaderIOptionalParametersISourceAddressIConcatenation
- Inherited Members
Constructors
DataSm()
public DataSm()
DataSm(SerializationInfo, StreamingContext)
protected DataSm(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
Properties
Acknowledgement
SME originated Acknowledgement
public SMEAcknowledgement Acknowledgement { get; set; }
Property Value
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 payload data
public DataCodings DataCoding { get; set; }
Property Value
- DataCodings
DestAddr
Destination address
public string DestAddr { get; set; }
Property Value
- String
DestAddrNpi
Numbering Plan Indicator for destination.
public byte DestAddrNpi { get; set; }
Property Value
- Byte
DestAddrTon
Type of Number for destination.
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
GSM Network Specific Features
public GSMSpecificFeatures MessageFeature { get; set; }
Property Value
MessageMode
Messaging Mode
public MessageModes MessageMode { get; set; }
Property Value
MessageText
Gets message text in specified data coding.
public string MessageText { get; }
Property Value
- String
MessageType
Message Type
public MessageTypes MessageType { get; set; }
Property Value
Notification
Intermediate Notificat
public IntermediateNotification Notification { get; set; }
Property Value
Optional
Optional Parameters
public TLVCollection Optional { get; set; }
Property Value
- TLVCollection
ServiceType
public string ServiceType { get; set; }
Property Value
- String
SMSCReceipt
SMSC Delivery Receipt
public SMSCDeliveryReceipt SMSCReceipt { get; set; }
Property Value
SourceAddr
Address of SME which originated this message.
public string SourceAddr { get; set; }
Property Value
- String
SourceAddrNpi
Numbering Plan Indicator for source address.
public byte SourceAddrNpi { get; set; }
Property Value
- Byte
SourceAddrTon
Type of Number for source address.
public byte SourceAddrTon { get; set; }
Property Value
- Byte
Methods
CorrespondTo(SmppResponse)
public override bool CorrespondTo(SmppResponse response)
Parameters
response
SmppResponse
Returns
- Boolean
Deserialize(Byte[])
Deserializes byte array to the DataSm object
public static DataSm Deserialize(byte[] data)
Parameters
data
Byte[]- Byte array to deseriaize
Returns
- DataSm
- Returns DataSm object
Serialize(DataSm)
Serializes DataSm object to the byte array
public static byte[] Serialize(DataSm data)
Parameters
data
DataSm- DataSm object to serialize
Returns
- Byte[]
- Returns byte array
ToString()
public override string ToString()
Returns
- String