DNSTaskStarter.Factory.getInstance().disposeStarter(this.getDns());
/** * Return the instance of the DNSTaskStarter for the JmDNS. * * @param jmDNSImpl * jmDNS instance * @return the DNSTaskStarter */ public DNSTaskStarter getStarter(JmDNSImpl jmDNSImpl) { DNSTaskStarter starter = _instances.get(jmDNSImpl); if (starter == null) { _instances.putIfAbsent(jmDNSImpl, newDNSTaskStarter(jmDNSImpl)); starter = _instances.get(jmDNSImpl); } return starter; }
/** * Return the instance of the DNSTaskStarter Factory. * * @return DNSTaskStarter Factory */ public static Factory getInstance() { if (_instance == null) { synchronized (DNSTaskStarter.Factory.class) { if (_instance == null) { _instance = new Factory(); } } } return _instance; }
/** * Return the instance of the DNSTaskStarter for the JmDNS. * * @param jmDNSImpl * jmDNS instance * @return the DNSTaskStarter */ public DNSTaskStarter getStarter(JmDNSImpl jmDNSImpl) { DNSTaskStarter starter = _instances.get(jmDNSImpl); if (starter == null) { _instances.putIfAbsent(jmDNSImpl, newDNSTaskStarter(jmDNSImpl)); starter = _instances.get(jmDNSImpl); } return starter; }
/** * Return the instance of the DNSTaskStarter Factory. * * @return DNSTaskStarter Factory */ public static Factory getInstance() { if (_instance == null) { synchronized (DNSTaskStarter.Factory.class) { if (_instance == null) { _instance = new Factory(); } } } return _instance; }
/** * Return the instance of the DNSTaskStarter Factory. * * @return DNSTaskStarter Factory */ public static Factory getInstance() { if (_instance == null) { synchronized (DNSTaskStarter.Factory.class) { if (_instance == null) { _instance = new Factory(); } } } return _instance; }
/** * Return the instance of the DNSTaskStarter for the JmDNS. * * @param jmDNSImpl * jmDNS instance * @return the DNSTaskStarter */ public DNSTaskStarter getStarter(JmDNSImpl jmDNSImpl) { DNSTaskStarter starter = _instances.get(jmDNSImpl); if (starter == null) { _instances.putIfAbsent(jmDNSImpl, newDNSTaskStarter(jmDNSImpl)); starter = _instances.get(jmDNSImpl); } return starter; }
/** * Return the instance of the DNSTaskStarter for the JmDNS. * * @param jmDNSImpl * jmDNS instance * @return the DNSTaskStarter */ public DNSTaskStarter getStarter(JmDNSImpl jmDNSImpl) { DNSTaskStarter starter = _instances.get(jmDNSImpl); if (starter == null) { _instances.putIfAbsent(jmDNSImpl, newDNSTaskStarter(jmDNSImpl)); starter = _instances.get(jmDNSImpl); } return starter; }
@Override public void startServiceResolver(String type) { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startServiceResolver(type); }
@Override public void startTypeResolver() { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startTypeResolver(); }
@Override public void cancelStateTimer() { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).cancelStateTimer(); }
@Override public void cancelTimer() { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).cancelTimer(); }
@Override public void purgeStateTimer() { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).purgeStateTimer(); }
@Override public void purgeTimer() { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).purgeTimer(); }
/** * Return the instance of the DNSTaskStarter Factory. * * @return DNSTaskStarter Factory */ public static Factory getInstance() { if (_instance == null) { synchronized (DNSTaskStarter.Factory.class) { if (_instance == null) { _instance = new Factory(); } } } return _instance; }
@Override public void startResponder(DNSIncoming in, int port) { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startResponder(in, port); }
@Override public void startReaper() { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startReaper(); }
@Override public void startCanceler() { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startCanceler(); }
@Override public void startProber() { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startProber(); }
@Override public void startServiceResolver(String type) { DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startServiceResolver(type); }