|
|||||||||
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.ServiceInfoResolver
public class ServiceInfoResolver
The ServiceInfoResolver queries up to three times consecutively for a service info, and then removes itself from the timer.
The ServiceInfoResolver will run only if JmDNS is in state ANNOUNCED. REMIND: Prevent having multiple service resolvers for the same info in the timer queue.
Field Summary |
---|
Fields inherited from class javax.jmdns.impl.tasks.DNSTask |
---|
_jmDNSImpl |
Constructor Summary | |
---|---|
ServiceInfoResolver(JmDNSImpl jmDNSImpl,
ServiceInfoImpl info)
|
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 |
---|
public ServiceInfoResolver(JmDNSImpl jmDNSImpl, ServiceInfoImpl info)
Method Detail |
---|
public void start(java.util.Timer timer)
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 |