javax.jmdns.impl.tasks

Class ServiceResolver


public class ServiceResolver
extends TimerTask

The ServiceResolver queries three times consecutively for services of a given type, and then removes itself from the timer.

The ServiceResolver will run only if JmDNS is in state ANNOUNCED. REMIND: Prevent having multiple service resolvers for the same type in the timer queue.

Constructor Summary

ServiceResolver(JmDNSImpl jmDNSImpl, String type)

Method Summary

void
run()
void
start(Timer timer)

Constructor Details

ServiceResolver

public ServiceResolver(JmDNSImpl jmDNSImpl,
                       String type)

Method Details

run

public void run()

start

public void start(Timer timer)