javax.jmdns.impl.tasks

Class Announcer


public class Announcer
extends TimerTask

The Announcer sends an accumulated query of all announces, and advances the state of all serviceInfos, for which it has sent an announce. The Announcer also sends announcements and advances the state of JmDNS itself.

When the announcer has run two times, it finishes.

Constructor Summary

Announcer(JmDNSImpl jmDNSImpl)

Method Summary

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

Constructor Details

Announcer

public Announcer(JmDNSImpl jmDNSImpl)

Method Details

cancel

public boolean cancel()

run

public void run()

start

public void start(Timer timer)