Package org.cipango.dns.section.HeaderSection

Examples of org.cipango.dns.section.HeaderSection.ResponseCode


   
      DnsMessage query = new DnsMessage(record);
      DnsMessage answer = _dnsClient.resolve(query);
      incrementIteration();
     
      ResponseCode responseCode = answer.getHeaderSection().getResponseCode();
      if (responseCode == ResponseCode.NAME_ERROR)
      {
        _dnsClient.getCache().addNegativeRecord(query, answer);
        throw new UnknownHostException(_record.getName().toString());
      }
View Full Code Here

TOP

Related Classes of org.cipango.dns.section.HeaderSection.ResponseCode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.