|
|||||||||
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.Announcer
public class Announcer
The Announcer sends an accumulated query of all announces, and advances the state of all serviceInfos, for which it has sent an announce. The Announcer also sends announcements and advances the state of JmDNS itself.
When the announcer has run two times, it finishes.
Field Summary |
---|
Fields inherited from class javax.jmdns.impl.tasks.DNSTask |
---|
_jmDNSImpl |
Constructor Summary | |
---|---|
Announcer(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 Announcer(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 |