diff options
Diffstat (limited to 'SmppServerLib/SmppPduDeliverSmResp.cs')
-rw-r--r-- | SmppServerLib/SmppPduDeliverSmResp.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/SmppServerLib/SmppPduDeliverSmResp.cs b/SmppServerLib/SmppPduDeliverSmResp.cs new file mode 100644 index 0000000..e541711 --- /dev/null +++ b/SmppServerLib/SmppPduDeliverSmResp.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Flex.Cluster.Smpp +{ + public class SmppPduDeliverSmResp : SmppPduSmRespBase + { + override protected SmppCommandType GetCommandType() + { + return SmppCommandType.deliver_sm_resp; + } + + public SmppPduDeliverSmResp(uint sequenceId, SmppCommandStatus status = SmppCommandStatus.ESME_ROK) + : base(SmppCommandType.deliver_sm_resp, sequenceId, status, "") + { + } + + public SmppPduDeliverSmResp(byte[] bytes) : this(bytes, (uint)bytes.Length) { } + public SmppPduDeliverSmResp(byte[] bytes, uint length) + : base(bytes, length) + { + } + } +} |