Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SmppPduUnbindResp.cs « SmppServerLib - github.com/ClusterM/smpp-sharp-lib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: db2c157d43542b72960c62ad612fd14916bbd0fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Flex.Cluster.Smpp
{
    public class SmppPduUnbindResp : SmppPdu
    {
        public SmppPduUnbindResp(uint sequenceId, SmppCommandStatus status) 
            : base(SmppCommandType.unbind_resp, status, sequenceId) { }
        public SmppPduUnbindResp(byte[] bytes) : this(bytes, (uint)bytes.Length) { }
        public SmppPduUnbindResp(byte[] bytes, uint length)
            : base(bytes, length)
        {
            if (CommandId != SmppCommandType.unbind_resp) throw new Exception("Invaid command ID");
        }
    }
}