Ejemplo n.º 1
0
 internal override void ReadRDATA(Internal.ByteReader reader)
 {
     NSDNAME = reader.ReadDomain();
 }
Ejemplo n.º 2
0
 internal override void ReadRDATA(Internal.ByteReader reader)
 {
     PRIORITY = reader.ReadUIn16();
       WEIGHT = reader.ReadUIn16();
       PORT = reader.ReadUIn16();
       TARGET = reader.ReadDomain();
 }
Ejemplo n.º 3
0
 internal override void ReadRDATA(Internal.ByteReader reader)
 {
     MNAME = reader.ReadDomain();
       RNAME = reader.ReadDomain();
       SERIAL = reader.ReadUint32();
       REFRESH = reader.ReadUint32();
       RETRY = reader.ReadUint32();
       EXPIRE = reader.ReadUint32();
       MINIMUM = reader.ReadUint32();
 }
Ejemplo n.º 4
0
 internal override void ReadRDATA(Internal.ByteReader reader)
 {
     CANONICAL = reader.ReadDomain();
 }
Ejemplo n.º 5
0
 internal override void ReadRDATA(Internal.ByteReader reader)
 {
     PREFERENCE = reader.ReadUIn16();
       EXCHANGE = reader.ReadDomain();
 }
Ejemplo n.º 6
0
        void Internal.IResponseReader.ReadResponse(Internal.ByteReader reader)
        {
            NAME = reader.ReadDomain();

              // TYPE may be not understood
              TypeValue = reader.ReadUIn16();
              if (Enum.IsDefined(typeof(QTYPE), TypeValue))
              {
            // known type
            TYPE = (QTYPE)TypeValue;
            TypeString = TYPE.ToString();
              }
              else
              {
            // unknown type
            TYPE = null;
            TypeString = String.Format("[{0}]", TypeValue.ToString());
              }
              CLASS = reader.ReadUIn16Enum<QCLASS>();
              TTL = reader.ReadUint32();
              RDLENGTH = reader.ReadUIn16();
        }
Ejemplo n.º 7
0
 internal override void ReadRDATA(Internal.ByteReader reader)
 {
     ORDER = reader.ReadUIn16();
       PREFERENCE = reader.ReadUIn16();
       FLAGS = Encoding.ASCII.GetString(reader.ReadCharacterString()).ToUpper();
       SERVICES = reader.ReadCharacterString();
       REGEXP = reader.ReadCharacterString();
       REPLACEMENT = reader.ReadDomain();
 }
Ejemplo n.º 8
0
 void Internal.IResponseReader.ReadResponse(Internal.ByteReader reader)
 {
     QNAME = reader.ReadDomain();
       QTYPE = reader.ReadUIn16Enum<QTYPE>();
       QCLASS = reader.ReadUIn16Enum<QCLASS>();
 }