Class SubmitMulti
- Namespace
- Inetlab.SMPP.PDU
- Assembly
- cs.temp.dll.dll
SubmitMulti PDU to submit an SMPP message for delivery to multiple
recipients or to one or more Distribution Lists
public class SubmitMulti : SmppRequest<SubmitMultiResp>, ISmppMessage, ISerializable
- Inheritance
-
ObjectSubmitMulti
- Implements
-
ISmppMessageISerializable
- Inherited Members
Constructors
SubmitMulti()
public SubmitMulti()
SubmitMulti(SerializationInfo, StreamingContext)
protected SubmitMulti(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
SubmitMulti(String, Byte, Byte, String, List<DestinationAddress>)
public SubmitMulti(string serviceType, byte srcAddrTon, byte srcAddrNpi, string srcAddr, List<DestinationAddress> destAddrList)
Parameters
serviceType
StringsrcAddrTon
BytesrcAddrNpi
BytesrcAddr
StringdestAddrList
List<DestinationAddress>
Properties
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
Defines the encoding scheme of the short message user data.
public DataCodings DataCoding { get; set; }
Property Value
- DataCodings
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 NULL.
public byte DefaultMessageId { get; set; }
Property Value
- Byte
DestinationAddresses
Contains one or more SME addresses or/and Distribution List names
public IList<DestinationAddress> DestinationAddresses { get; set; }
Property Value
- IList<DestinationAddress>
EsmClass
Indicates Message Mode and Message Type.
public byte EsmClass { get; set; }
Property Value
- Byte
MessageFeature
public GSMSpecificFeatures MessageFeature { get; }
Property Value
MessageMode
public MessageModes MessageMode { get; set; }
Property Value
MessageText
Gets message text in specified data coding.
public string MessageText { get; }
Property Value
- String
MessageType
public MessageTypes MessageType { get; set; }
Property Value
Notification
public IntermediateNotification Notification { get; set; }
Property Value
Optional
public TLVCollection Optional { get; set; }
Property Value
- TLVCollection
PriorityFlag
Designates the priority level of the message.
public byte PriorityFlag { get; set; }
Property Value
- Byte
ProtocolId
Protocol Identifier. Network specific field.
public byte ProtocolId { get; set; }
Property Value
- Byte
RegisteredDelivery
Indicator to signify if an SMSC delivery receipt or an SME acknowledgement is required.
public byte RegisteredDelivery { get; set; }
Property Value
- Byte
ReplaceIfPresent
Flag indicating if submitted message should replace an existing message.
public byte ReplaceIfPresent { get; set; }
Property Value
- Byte
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
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
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
UserDataPdu
public UserData UserDataPdu { 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
CorrespondTo(SmppResponse)
public override bool CorrespondTo(SmppResponse response)
Parameters
response
SmppResponse
Returns
- Boolean
Deserialize(Byte[])
Deserializes byte array to the SubmitMulti object
public static SubmitMulti Deserialize(byte[] data)
Parameters
data
Byte[]- Byte array to deseriaize
Returns
- SubmitMulti
- Returns SubmitMulti object
Serialize(SubmitMulti)
Serializes SubmitMulti object to the byte array
public static byte[] Serialize(SubmitMulti submit)
Parameters
submit
SubmitMulti- SubmitMulti object to serialize
Returns
- Byte[]
- Returns byte array
ToString()
public override string ToString()
Returns
- String