public class ServiceResolver extends DNSResolverTask
_count
Constructor and Description |
---|
ServiceResolver(JmDNSImpl jmDNSImpl,
String type) |
Modifier and Type | Method and Description |
---|---|
protected DNSOutgoing |
addAnswers(DNSOutgoing out)
Overridden by subclasses to add questions to the message.
Note: Because of message size limitation the returned message may be different than the message parameter. |
protected DNSOutgoing |
addQuestions(DNSOutgoing out)
Overridden by subclasses to add questions to the message.
Note: Because of message size limitation the returned message may be different than the message parameter. |
protected String |
description()
Returns a description of the resolver for debugging
|
String |
getName()
Return this task name.
|
run, start, toString
addAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDns
cancel, scheduledExecutionTime
protected DNSOutgoing addAnswers(DNSOutgoing out) throws IOException
DNSResolverTask
addAnswers
in class DNSResolverTask
out
- outgoing messageIOException
protected DNSOutgoing addQuestions(DNSOutgoing out) throws IOException
DNSResolverTask
addQuestions
in class DNSResolverTask
out
- outgoing messageIOException
protected String description()
DNSResolverTask
description
in class DNSResolverTask
Copyright © 2002–2017 JmDNS. All rights reserved.