|
JmDNS 3.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.TimerTask javax.jmdns.impl.tasks.DNSTask javax.jmdns.impl.tasks.resolver.DNSResolverTask
public abstract class DNSResolverTask
This is the root class for all resolver tasks.
Field Summary | |
---|---|
protected int |
_count
Counts the number of queries being sent. |
Constructor Summary | |
---|---|
DNSResolverTask(JmDNSImpl jmDNSImpl)
|
Method Summary | |
---|---|
protected abstract 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 abstract 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 abstract String |
description()
Returns a description of the resolver for debugging |
void |
run()
|
void |
start(Timer timer)
Start this task. |
String |
toString()
|
Methods inherited from class javax.jmdns.impl.tasks.DNSTask |
---|
addAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDns, getName |
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 |
Field Detail |
---|
protected int _count
Constructor Detail |
---|
public DNSResolverTask(JmDNSImpl jmDNSImpl)
jmDNSImpl
- Method Detail |
---|
public String toString()
toString
in class DNSTask
public void start(Timer timer)
DNSTask
start
in class DNSTask
timer
- task timer.public void run()
run
in interface Runnable
run
in class TimerTask
protected abstract DNSOutgoing addQuestions(DNSOutgoing out) throws IOException
out
- outgoing message
IOException
protected abstract DNSOutgoing addAnswers(DNSOutgoing out) throws IOException
out
- outgoing message
IOException
protected abstract String description()
|
Last updated 2011-08-25 12:40 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |