|
JmDNS 3.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
javax.jmdns.impl.tasks.DNSTask
javax.jmdns.impl.tasks.resolver.DNSResolverTask
javax.jmdns.impl.tasks.resolver.TypeResolver
public class TypeResolver
Helper class to resolve service types.
The TypeResolver queries three times consecutively for service types, and then removes itself from the timer.
The TypeResolver will run only if JmDNS is in state ANNOUNCED.
Field Summary |
---|
Fields inherited from class javax.jmdns.impl.tasks.resolver.DNSResolverTask |
---|
_count |
Constructor Summary | |
---|---|
TypeResolver(JmDNSImpl jmDNSImpl)
|
Method Summary | |
---|---|
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. |
Methods inherited from class javax.jmdns.impl.tasks.resolver.DNSResolverTask |
---|
run, start, toString |
Methods inherited from class javax.jmdns.impl.tasks.DNSTask |
---|
addAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDns |
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TypeResolver(JmDNSImpl jmDNSImpl)
jmDNSImpl
- Method Detail |
---|
public String getName()
DNSTask
getName
in class DNSTask
protected DNSOutgoing addAnswers(DNSOutgoing out) throws IOException
DNSResolverTask
addAnswers
in class DNSResolverTask
out
- outgoing message
IOException
protected DNSOutgoing addQuestions(DNSOutgoing out) throws IOException
DNSResolverTask
addQuestions
in class DNSResolverTask
out
- outgoing message
IOException
protected String description()
DNSResolverTask
description
in class DNSResolverTask
|
Last updated 2011-08-25 12:40 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |