javax.jmdns.impl.tasks
Class Canceler
java.lang.Object
java.util.TimerTask
javax.jmdns.impl.tasks.DNSTask
javax.jmdns.impl.tasks.Canceler
- All Implemented Interfaces:
- java.lang.Runnable
public class Canceler
- extends DNSTask
The Canceler sends two announces with TTL=0 for the specified services.
Method Summary |
void |
run()
|
void |
start(java.util.Timer timer)
|
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Canceler
public Canceler(JmDNSImpl jmDNSImpl,
ServiceInfoImpl info,
java.lang.Object lock)
Canceler
public Canceler(JmDNSImpl jmDNSImpl,
ServiceInfoImpl[] infos,
java.lang.Object lock)
Canceler
public Canceler(JmDNSImpl jmDNSImpl,
java.util.Collection<? extends ServiceInfo> infos,
java.lang.Object lock)
start
public void start(java.util.Timer timer)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Specified by:
run
in class java.util.TimerTask