Class DNSQuestion.DNS4Address

Enclosing class:
DNSQuestion

private static class DNSQuestion.DNS4Address extends DNSQuestion
Address question.
  • Constructor Details

  • Method Details

    • addAnswers

      public void addAnswers(JmDNSImpl jmDNSImpl, Set<DNSRecord> answers)
      Description copied from class: DNSQuestion
      Adds answers to the list for our question.
      Overrides:
      addAnswers in class DNSQuestion
      Parameters:
      jmDNSImpl - DNS holding the records
      answers - List of previous answer to append.
    • iAmTheOnlyOne

      public boolean iAmTheOnlyOne(JmDNSImpl jmDNSImpl)
      Description copied from class: DNSQuestion
      Checks if we are the only to be able to answer that question.
      Overrides:
      iAmTheOnlyOne in class DNSQuestion
      Parameters:
      jmDNSImpl - DNS holding the records
      Returns:
      true if we are the only one with the answer to the question, false otherwise.