Class DeliverSmResp
- Namespace
- Inetlab.SMPP.PDU
- Assembly
- cs.temp.dll.dll
Represents the response to the deliver_sm PDU.
public class DeliverSmResp : SmppResponse<DeliverSm>, IOptionalParameters, ISerializable
- Inheritance
-
ObjectDeliverSmResp
- Implements
-
IOptionalParametersISerializable
- Inherited Members
Constructors
DeliverSmResp()
public DeliverSmResp()
DeliverSmResp(CommandStatus, UInt32)
public DeliverSmResp(CommandStatus status, uint sequence)
Parameters
statusCommandStatussequenceUInt32
DeliverSmResp(DeliverSm)
public DeliverSmResp(DeliverSm dp)
Parameters
dpDeliverSm
DeliverSmResp(SerializationInfo, StreamingContext)
protected DeliverSmResp(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
Properties
MessageId
public string MessageId { get; set; }
Property Value
- String
Optional
Optional Parameters
public TLVCollection Optional { get; set; }
Property Value
- TLVCollection
Methods
Deserialize(Byte[])
Deserializes byte array to the DeliverSmResp object
public static DeliverSmResp Deserialize(byte[] data)
Parameters
dataByte[]- Byte array to deseriaize
Returns
- DeliverSmResp
- Returns DeliverSmResp object
Serialize(DeliverSmResp)
Serializes DeliverSmResp object to the byte array
public static byte[] Serialize(DeliverSmResp deliver)
Parameters
deliverDeliverSmResp- DeliverSmResp object to serialize
Returns
- Byte[]
- Returns byte array