blob: 98f61c655c631acc9f2a140829d9f04d22715a7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Flex.Cluster.Smpp
{
public class SmppPduUnbind : SmppPdu
{
public SmppPduUnbind() : base(SmppCommandType.unbind) { }
public SmppPduUnbind(byte[] bytes) : this(bytes, (uint)bytes.Length) { }
public SmppPduUnbind(byte[] bytes, uint length)
: base(bytes, length)
{
if (CommandId != SmppCommandType.unbind) throw new Exception("Invaid command ID");
}
}
}
|