javax.jmdns.impl.tasks

Class Prober


public class Prober
extends TimerTask

The Prober sends three consecutive probes for all service infos that needs probing as well as for the host name. The state of each service info of the host name is advanced, when a probe has been sent for it. When the prober has run three times, it launches an Announcer.

If a conflict during probes occurs, the affected service infos (and affected host name) are taken away from the prober. This eventually causes the prober tho cancel itself.

Constructor Summary

Prober(JmDNSImpl jmDNSImpl)

Method Summary

boolean
cancel()
void
run()
void
start(Timer timer)

Constructor Details

Prober

public Prober(JmDNSImpl jmDNSImpl)

Method Details

cancel

public boolean cancel()

run

public void run()

start

public void start(Timer timer)