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, toStringaddAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDnspublic ServiceResolver(JmDNSImpl jmDNSImpl, java.lang.String type)
public java.lang.String getName()
DNSTaskprotected DNSOutgoing addAnswers(DNSOutgoing out) throws java.io.IOException
DNSResolverTaskaddAnswers in class DNSResolverTaskout - outgoing messagejava.io.IOExceptionprotected DNSOutgoing addQuestions(DNSOutgoing out) throws java.io.IOException
DNSResolverTaskaddQuestions in class DNSResolverTaskout - outgoing messagejava.io.IOExceptionprotected java.lang.String description()
DNSResolverTaskdescription in class DNSResolverTask