public class ServiceResolver extends DNSResolverTask
_count
Constructor and Description |
---|
ServiceResolver(JmDNSImpl jmDNSImpl,
java.lang.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 java.lang.String |
description()
Returns a description of the resolver for debugging
|
java.lang.String |
getName()
Return this task name.
|
run, start, toString
addAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDns
public ServiceResolver(JmDNSImpl jmDNSImpl, java.lang.String type)
public java.lang.String getName()
DNSTask
protected DNSOutgoing addAnswers(DNSOutgoing out) throws java.io.IOException
DNSResolverTask
addAnswers
in class DNSResolverTask
out
- outgoing messagejava.io.IOException
protected DNSOutgoing addQuestions(DNSOutgoing out) throws java.io.IOException
DNSResolverTask
addQuestions
in class DNSResolverTask
out
- outgoing messagejava.io.IOException
protected java.lang.String description()
DNSResolverTask
description
in class DNSResolverTask