@Start public void startJmdnsGroup() throws IOException { super.startRestGroup(); jmdns = new ArrayList<JmDnsComponent>(); thread = new Thread(this); updateDico(); alive = true; thread.start(); }
@Stop public void stopJmdnsGroup() { alive = false; thread.interrupt(); for (JmDnsComponent _jmdns : jmdns) { _jmdns.close(); } jmdns = null; super.stopRestGroup(); }