$search
Public Member Functions | |
void | addAnswers (JmDNSImpl jmDNSImpl, Set< DNSRecord > answers) |
boolean | iAmTheOnlyOne (JmDNSImpl jmDNSImpl) |
Package Functions | |
Service (String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) |
Service question.
Definition at line 127 of file DNSQuestion.java.
javax::jmdns::impl::DNSQuestion::Service::Service | ( | String | name, | |
DNSRecordType | type, | |||
DNSRecordClass | recordClass, | |||
boolean | unique | |||
) | [inline, package] |
Definition at line 128 of file DNSQuestion.java.
void javax::jmdns::impl::DNSQuestion::Service::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 133 of file DNSQuestion.java.
boolean javax::jmdns::impl::DNSQuestion::Service::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 151 of file DNSQuestion.java.