Exemple #1
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(mid_);
     reader.ReadObject(finalDate_);
     reader.ReadObject(msgState_);
     errCode_ = reader.ReadInt32();
 }
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(mid_);
     reader.ReadObject(msgState_);
     reader.ReadObject(areaId_);
     reader.ReadObject(successRate_);
 }
Exemple #3
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(stype_);
     reader.ReadObject(msgid_);
     reader.ReadObject(saddr_);
     reader.ReadObject(daddr_);
 }
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(sid_);
     reader.ReadObject(pwd_);
     reader.ReadObject(stype_);
     reader.ReadObject(ifver_);
     reader.ReadObject(addr_range_);
 }
Exemple #5
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(sourceAddr_);
     reader.ReadObject(dlname_);
     type_ = (DistributionListModifyType)reader.ReadByte();
     if (type_ == DistributionListModifyType.AddMember)
     {
         reader.ReadObject(memberDetails_);
     }
     else
     {
         memberDetails_.Address     = new address();
         memberDetails_.Description = reader.ReadString();
     }
 }
Exemple #6
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(msgid_);
     reader.ReadObject(stype_);
     reader.ReadObject(saddr_);
     reader.ReadObject(deliveryTime_);
     reader.ReadObject(validPeriod_);
     reader.ReadObject(regDelivery_);
     reader.ReadObject(defMsgId_);
     reader.ReadObject(msg_);
 }
Exemple #7
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(stype_);
     reader.ReadObject(saddr_);
     reader.ReadObject(daddr_);
     reader.ReadObject(esmclass_);
     reader.ReadObject(regDelivery_);
     reader.ReadObject(dataCoding_);
 }
Exemple #8
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(saddr_);
     reader.ReadObject(esmeaddr_);
 }
Exemple #9
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(stype_);
     reader.ReadObject(saddr_);
     reader.ReadObject(daddr_);
     reader.ReadObject(esmclass_);
     reader.ReadObject(protid_);
     reader.ReadObject(pflag_);
     reader.ReadObject(deliveryTime_);
     reader.ReadObject(validPeriod_);
     reader.ReadObject(regDelivery_);
     reader.ReadObject(repPresent_);
     reader.ReadObject(dataCoding_);
     reader.ReadObject(defMsgId_);
     reader.ReadObject(msg_);
 }
Exemple #10
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(sid_);
     reader.ReadObject(pwd_);
 }
Exemple #11
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(sourceAddr_);
     reader.ReadObject(dlname_);
 }
Exemple #12
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(rec_);
 }
Exemple #13
0
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(stype_);
     reader.ReadObject(saddr_);
     reader.ReadObject(mid_);
     reader.ReadObject(pflag_);
     reader.ReadObject(deliveryTime_);
     reader.ReadObject(validPeriod_);
     reader.ReadObject(repPresent_);
     reader.ReadObject(dataCoding_);
     reader.ReadObject(defMsgId_);
     reader.ReadObject(areaId_);
     reader.ReadObject(contentType_);
     reader.ReadObject(repNum_);
     reader.ReadObject(freqInt_);
 }
 /// <summary>
 /// This method implements the ISupportSmppByteStream.GetFromStream
 /// method so that the PDU can serialize itself from the data stream.
 /// </summary>
 /// <param name="reader">StreamReader</param>
 public override void GetFromStream(SmppReader reader)
 {
     reader.ReadObject(mid_);
     smes_.GetFromStream(reader);
 }