Exemplo n.º 1
0
 public SrvRecord(DataBuffer buffer)
 {
     _priority = buffer.ReadShortInt();
     _weight = buffer.ReadShortUInt();
     _port = buffer.ReadShortUInt();
     _domain = buffer.ReadDomainName();
 }
Exemplo n.º 2
0
 public SrvRecord(DataBuffer buffer)
 {
     _priority = buffer.ReadShortInt();
     _weight   = buffer.ReadShortUInt();
     _port     = buffer.ReadShortUInt();
     _domain   = buffer.ReadDomainName();
 }
Exemplo n.º 3
0
 public NaptrRecord(DataBuffer buffer)
 {
     _order = buffer.ReadShortUInt();
     _priority = buffer.ReadShortUInt();
     _flags = buffer.ReadCharString();
     _services = buffer.ReadCharString();
     _regexp = buffer.ReadCharString();
     _replacement = buffer.ReadCharString();
 }
Exemplo n.º 4
0
 public NaptrRecord(DataBuffer buffer)
 {
     _order       = buffer.ReadShortUInt();
     _priority    = buffer.ReadShortUInt();
     _flags       = buffer.ReadCharString();
     _services    = buffer.ReadCharString();
     _regexp      = buffer.ReadCharString();
     _replacement = buffer.ReadCharString();
 }
Exemplo n.º 5
0
 public TSigRecord(DataBuffer buffer)
 {
     _algorithm  = buffer.ReadDomainName();
     _timeSigned = buffer.ReadLongInt();
     _fudge      = buffer.ReadShortUInt();
     _macSize    = buffer.ReadShortUInt();
     _mac        = buffer.ReadBytes(_macSize);
     _originalId = buffer.ReadShortUInt();
     _error      = buffer.ReadShortUInt();
     _otherLen   = buffer.ReadShortUInt();
     _otherData  = buffer.ReadBytes(_otherLen);
 }
Exemplo n.º 6
0
 public TKeyRecord(DataBuffer buffer)
 {
     _algorithm  = buffer.ReadDomainName();
     _inception  = buffer.ReadUInt();
     _expiration = buffer.ReadUInt();
     _mode       = buffer.ReadShortUInt();
     _error      = buffer.ReadShortUInt();
     _keySize    = buffer.ReadShortUInt();
     _keyData    = buffer.ReadBytes(_keySize);
     _otherSize  = buffer.ReadShortUInt();
     _otherData  = buffer.ReadBytes(_otherSize);
 }
Exemplo n.º 7
0
 public TSigRecord(DataBuffer buffer)
 {
     _algorithm = buffer.ReadDomainName();
     _timeSigned = buffer.ReadLongInt();
     _fudge = buffer.ReadShortUInt();
     _macSize = buffer.ReadShortUInt();
     _mac = buffer.ReadBytes(_macSize);
     _originalId = buffer.ReadShortUInt();
     _error = buffer.ReadShortUInt();
     _otherLen = buffer.ReadShortUInt();
     _otherData = buffer.ReadBytes(_otherLen);
 }
Exemplo n.º 8
0
 public TKeyRecord(DataBuffer buffer)
 {
     _algorithm = buffer.ReadDomainName();
     _inception = buffer.ReadUInt();
     _expiration = buffer.ReadUInt();
     _mode = buffer.ReadShortUInt();
     _error = buffer.ReadShortUInt();
     _keySize = buffer.ReadShortUInt();
     _keyData = buffer.ReadBytes(_keySize);
     _otherSize = buffer.ReadShortUInt();
     _otherData = buffer.ReadBytes(_otherSize);
 }