$search
Public Member Functions | |
void | addAnswers (JmDNSImpl jmDNSImpl, Set< DNSRecord > answers) |
boolean | iAmTheOnlyOne (JmDNSImpl jmDNSImpl) |
boolean | isSameType (DNSEntry entry) |
Package Functions | |
AllRecords (String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) |
AllRecords question.
Definition at line 182 of file DNSQuestion.java.
javax::jmdns::impl::DNSQuestion::AllRecords::AllRecords | ( | String | name, | |
DNSRecordType | type, | |||
DNSRecordClass | recordClass, | |||
boolean | unique | |||
) | [inline, package] |
Definition at line 183 of file DNSQuestion.java.
void javax::jmdns::impl::DNSQuestion::AllRecords::addAnswers | ( | JmDNSImpl | jmDNSImpl, | |
Set< DNSRecord > | answers | |||
) | [inline] |
Adds answers to the list for our question.
jmDNSImpl | DNS holding the records | |
answers | List of previous answer to append. |
Reimplemented from javax::jmdns::impl::DNSQuestion.
Definition at line 194 of file DNSQuestion.java.
boolean javax::jmdns::impl::DNSQuestion::AllRecords::iAmTheOnlyOne | ( | JmDNSImpl | jmDNSImpl | ) | [inline] |
Checks if we are the only to be able to answer that question.
jmDNSImpl | DNS holding the records |
true
if we are the only one with the answer to the question, false
otherwise. Reimplemented from javax::jmdns::impl::DNSQuestion.
Definition at line 212 of file DNSQuestion.java.
boolean javax::jmdns::impl::DNSQuestion::AllRecords::isSameType | ( | DNSEntry | entry | ) | [inline] |
Check that 2 entries are of the same type.
entry |
true
is the two type are the same, false
otherwise. Reimplemented from javax::jmdns::impl::DNSEntry.
Definition at line 188 of file DNSQuestion.java.