|
|||||||||
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.Prober
public class Prober
The Prober sends three consecutive probes for all service infos that needs probing as well as for the host name. The state of each service info of the host name is advanced, when a probe has been sent for it. When the prober has run three times, it launches an Announcer.
If a conflict during probes occurs, the affected service infos (and affected host name) are taken away from the prober. This eventually causes the prober tho cancel itself.
Field Summary |
---|
Fields inherited from class javax.jmdns.impl.tasks.DNSTask |
---|
_jmDNSImpl |
Constructor Summary | |
---|---|
Prober(JmDNSImpl jmDNSImpl)
|
Method Summary | |
---|---|
boolean |
cancel()
|
void |
run()
|
void |
start(java.util.Timer timer)
|
Methods inherited from class java.util.TimerTask |
---|
scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Prober(JmDNSImpl jmDNSImpl)
Method Detail |
---|
public void start(java.util.Timer timer)
public boolean cancel()
cancel
in class java.util.TimerTask
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |