Пример #1
0
 public static void Bind(ESME esme,Command cmd)
 {
     PDU pdu = new PDU();
     pdu.PDUHead = new PDUHead();
     pdu.PDUHead.CmdId = (int)cmd;
     pdu.PDUHead.CmdStatus = 0;
     pdu.PDUHead.SequenceNumber = ++esme.currentSequence;
     pdu.PDUBody = new PDUBody();
     pdu.PDUBody.SystemId = new COString(16,"InternetGW");
     pdu.PDUBody.Password = new COString(9,"PASSWORD");
     pdu.PDUBody.SystemType = new COString(13,"WWW");
     pdu.PDUBody.InterfaceVersion = 1;
 }
Пример #2
0
 public void UnBindResp(ESME esme)
 {
 }
Пример #3
0
 public void OutBind(ESME esme)
 {
 }