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/SmppPduBindTransmitter.cs')
-rw-r--r--SmppServerLib/SmppPduBindTransmitter.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/SmppServerLib/SmppPduBindTransmitter.cs b/SmppServerLib/SmppPduBindTransmitter.cs
new file mode 100644
index 0000000..c10a4b2
--- /dev/null
+++ b/SmppServerLib/SmppPduBindTransmitter.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Flex.Cluster.Smpp
+{
+ public class SmppPduBindTransmitter : SmppPduBindBase
+ {
+ protected override SmppPdu.SmppCommandType GetCommandType()
+ {
+ return SmppCommandType.bind_transmitter;
+ }
+
+ public SmppPduBindTransmitter(string systemId, string password, string systemType, byte interfaceVersion, byte addrTon, byte addrNpi, string addrRange)
+ : base(SmppCommandType.bind_transmitter, systemId, password, systemType, interfaceVersion, addrTon, addrNpi, addrRange)
+ {
+ }
+
+ public SmppPduBindTransmitter(byte[] bytes)
+ : this(bytes, (uint)bytes.Length)
+ {
+ }
+ public SmppPduBindTransmitter(byte[] bytes, uint length)
+ : base(bytes, length)
+ {
+ }
+ }
+}