|
JmDNS 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
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
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 java.lang.String |
description()
Returns a description of the resolver for debugging |
void |
run()
|
void |
start(java.util.Timer timer)
Start this task. |
java.lang.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 java.lang.String toString()
toString
in class DNSTask
public void start(java.util.Timer timer)
DNSTask
start
in class DNSTask
timer
- task timer.public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
protected abstract DNSOutgoing addQuestions(DNSOutgoing out) throws java.io.IOException
out
- outgoing message
java.io.IOException
protected abstract DNSOutgoing addAnswers(DNSOutgoing out) throws java.io.IOException
out
- outgoing message
java.io.IOException
protected abstract java.lang.String description()
|
JmDNS 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |