public class ServiceInfoResolver extends DNSResolverTask
_count
Constructor and Description |
---|
ServiceInfoResolver(JmDNSImpl jmDNSImpl,
ServiceInfoImpl info) |
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. |
boolean |
cancel() |
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 ServiceInfoResolver(JmDNSImpl jmDNSImpl, ServiceInfoImpl info)
public java.lang.String getName()
DNSTask
public boolean cancel()
cancel
in class java.util.TimerTask
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