示例#1
0
 /// <summary>
 /// Reads data into this RR from the DNS wire format data in <paramref name="reader"/>
 /// </summary>
 /// <param name="reader">Reader in which wire format data for this RR is already buffered.</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     this.DomainName      = reader.ReadDomainName();
     this.ResponsibleName = reader.ReadDomainName();
     this.SerialNumber    = reader.ReadInt();
     this.Refresh         = reader.ReadInt();
     this.Retry           = reader.ReadInt();
     this.Expire          = reader.ReadInt();
     this.Minimum         = reader.ReadInt();
 }
示例#2
0
文件: NSRecord.cs 项目: DM-TOR/nhin-d
 /// <summary>
 /// Reads data into this RR from the DNS wire format data in <paramref name="reader"/>
 /// </summary>
 /// <param name="reader">Reader in which wire format data for this RR is already buffered.</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     this.NameServer = reader.ReadDomainName();
 }
示例#3
0
 /// <summary>
 /// Creates an instance from the DNS message from a DNS reader.
 /// </summary>
 /// <param name="reader">The DNS reader</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     m_name = reader.ReadDomainName();
 }
示例#4
0
 /// <summary>
 /// Reads data into this RR from the DNS wire format data in <paramref name="reader"/>
 /// </summary>
 /// <param name="reader">Reader in which wire format data for this RR is already buffered.</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     this.DomainName = reader.ReadDomainName();
     this.ResponsibleName = reader.ReadDomainName();
     this.SerialNumber = reader.ReadInt();
     this.Refresh = reader.ReadInt();
     this.Retry = reader.ReadInt();
     this.Expire = reader.ReadInt();
     this.Minimum = reader.ReadInt();
 }
示例#5
0
文件: MXRecord.cs 项目: DM-TOR/nhin-d
 /// <summary>
 /// Reads data into this RR from the DNS wire format data in <paramref name="reader"/>
 /// </summary>
 /// <param name="reader">Reader in which wire format data for this RR is already buffered.</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     this.Preference = reader.ReadShort();
     this.Exchange = reader.ReadDomainName();
 }
示例#6
0
 /// <summary>
 /// Creates an instance from the DNS message from a DNS reader.
 /// </summary>
 /// <param name="reader">The DNS reader</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     m_name = reader.ReadDomainName();
 }
示例#7
0
 /// <summary>
 /// Reads data into this RR from the DNS wire format data in <paramref name="reader"/>
 /// </summary>
 /// <param name="reader">Reader in which wire format data for this RR is already buffered.</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     this.NameServer = reader.ReadDomainName();
 }
示例#8
0
 /// <summary>
 /// Reads data into this RR from the DNS wire format data in <paramref name="reader"/>
 /// </summary>
 /// <param name="reader">Reader in which wire format data for this RR is already buffered.</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     this.Preference = reader.ReadShort();
     this.Exchange   = reader.ReadDomainName();
 }