Class DNSQuestion.Text

    • Method Detail

      • addAnswers

        public void addAnswers​(JmDNSImpl jmDNSImpl,
                               java.util.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.