Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.zeroconf.jmdns
Class JmDNS.Canceler

java.lang.Object
  extended by java.util.TimerTask
      extended by net.java.sip.communicator.impl.protocol.zeroconf.jmdns.JmDNS.Canceler
All Implemented Interfaces:
Runnable
Enclosing class:
JmDNS

public class JmDNS.Canceler
extends TimerTask

The Canceler sends two announces with TTL=0 for the specified services.


Field Summary
(package private)  int count
          Counts the number of announces being sent.
(package private)  int ttl
           
 
Constructor Summary
JmDNS.Canceler(Collection<ServiceInfo> infos, Object lock)
           
JmDNS.Canceler(ServiceInfo[] infos, Object lock)
           
JmDNS.Canceler(ServiceInfo info, Object lock)
           
 
Method Summary
 void run()
           
 void start()
           
 
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
 

Field Detail

count

int count
Counts the number of announces being sent.


ttl

int ttl
Constructor Detail

JmDNS.Canceler

public JmDNS.Canceler(ServiceInfo info,
                      Object lock)

JmDNS.Canceler

public JmDNS.Canceler(ServiceInfo[] infos,
                      Object lock)

JmDNS.Canceler

public JmDNS.Canceler(Collection<ServiceInfo> infos,
                      Object lock)
Method Detail

start

public void start()

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.