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

github.com/ClusterM/smpp-sharp-lib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'SmppServerLib/SmppPduEnquireLink.cs')
-rw-r--r--SmppServerLib/SmppPduEnquireLink.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/SmppServerLib/SmppPduEnquireLink.cs b/SmppServerLib/SmppPduEnquireLink.cs
new file mode 100644
index 0000000..2be1d70
--- /dev/null
+++ b/SmppServerLib/SmppPduEnquireLink.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Flex.Cluster.Smpp
+{
+ public class SmppPduEnquireLink : SmppPdu
+ {
+ public SmppPduEnquireLink()
+ : base(SmppCommandType.enquire_link)
+ {
+ }
+
+ public SmppPduEnquireLink(byte[] bytes) : this(bytes, (uint)bytes.Length) {}
+ public SmppPduEnquireLink(byte[] bytes, uint length)
+ : base(bytes, length)
+ {
+ if (CommandId != SmppCommandType.enquire_link) throw new Exception("Invaid command ID");
+ }
+ }
+}