private void start(Collection<? extends ServiceInfo> serviceInfos) { if (_incomingListener == null) { _incomingListener = new SocketListener(this); _incomingListener.start(); } this.startProber(); for (ServiceInfo info : serviceInfos) { try { this.registerService(new ServiceInfoImpl(info)); } catch (final Exception exception) { logger.log(Level.WARNING, "start() Registration exception ", exception); } } }
/** * @param jmDNSImpl */ SocketListener(JmDNSImpl jmDNSImpl) { super("SocketListener(" + (jmDNSImpl != null ? jmDNSImpl.getName() : "") + ")"); this.setDaemon(true); this._jmDNSImpl = jmDNSImpl; }
if (msg.isValidResponseCode()) { if (logger.isTraceEnabled()) { logger.trace( "{}.run() JmDNS in:{}", this.getName(), msg.print(true)); logger.debug("{}.run() JmDNS in message with error code: {}", this.getName(), msg.print(true)); logger.warn(this.getName() + ".run() exception ", e); logger.warn(this.getName() + ".run() exception ", e); this._jmDNSImpl.recover(); logger.trace("{}.run() exiting.", this.getName() );
/** * @param jmDNSImpl */ SocketListener(JmDNSImpl jmDNSImpl) { super("SocketListener(" + (jmDNSImpl != null ? jmDNSImpl.getName() : "") + ")"); this.setDaemon(true); this._jmDNSImpl = jmDNSImpl; }
private void start(Collection<? extends ServiceInfo> serviceInfos) { if (_incomingListener == null) { _incomingListener = new SocketListener(this); _incomingListener.start(); } this.startProber(); for (ServiceInfo info : serviceInfos) { try { this.registerService(new ServiceInfoImpl(info)); } catch (final Exception exception) { logger.log(Level.WARNING, "start() Registration exception ", exception); } } }
/** * @param jmDNSImpl */ SocketListener(JmDNSImpl jmDNSImpl) { super("SocketListener(" + (jmDNSImpl != null ? jmDNSImpl.getName() : "") + ")"); this.setDaemon(true); this._jmDNSImpl = jmDNSImpl; }
private void start(Collection<? extends ServiceInfo> serviceInfos) { if (_incomingListener == null) { _incomingListener = new SocketListener(this); _incomingListener.start(); } this.startProber(); for (ServiceInfo info : serviceInfos) { try { this.registerService(new ServiceInfoImpl(info)); } catch (final Exception exception) { logger.warn("start() Registration exception ", exception); } } }
/** * @param jmDNSImpl */ SocketListener(JmDNSImpl jmDNSImpl) { super("SocketListener(" + (jmDNSImpl != null ? jmDNSImpl.getName() : "") + ")"); this.setDaemon(true); this._jmDNSImpl = jmDNSImpl; }
private void start(Collection<? extends ServiceInfo> serviceInfos) { if (_incomingListener == null) { _incomingListener = new SocketListener(this); _incomingListener.start(); } this.startProber(); for (ServiceInfo info : serviceInfos) { try { this.registerService(new ServiceInfoImpl(info)); } catch (final Exception exception) { logger.log(Level.WARNING, "start() Registration exception ", exception); } } }