javax.jmdns.impl.tasks
Class TypeResolver

java.lang.Object
  extended by java.util.TimerTask
      extended by javax.jmdns.impl.tasks.DNSTask
          extended by javax.jmdns.impl.tasks.TypeResolver
All Implemented Interfaces:
java.lang.Runnable

public class TypeResolver
extends DNSTask

Helper class to resolve service types.

The TypeResolver queries three times consecutively for service types, and then removes itself from the timer.

The TypeResolver will run only if JmDNS is in state ANNOUNCED.


Field Summary
 
Fields inherited from class javax.jmdns.impl.tasks.DNSTask
_jmDNSImpl
 
Constructor Summary
TypeResolver(JmDNSImpl jmDNSImpl)
           
 
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
 

Constructor Detail

TypeResolver

public TypeResolver(JmDNSImpl jmDNSImpl)
Parameters:
jmDNSImpl -
Method Detail

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