/** * {@inheritDoc} */ @Override public void setText(byte[] text) throws IllegalStateException { synchronized (this) { this._text = text; this._props = null; this.setNeedTextAnnouncing(true); } }
/** * {@inheritDoc} */ @Override public void setText(byte[] text) throws IllegalStateException { synchronized (this) { this._text = text; this._props = null; this.setNeedTextAnnouncing(true); } }
/** * {@inheritDoc} */ @Override public void setText(byte[] text) throws IllegalStateException { synchronized (this) { this._text = text; this._props = null; this.setNeedTextAnnouncing(true); } }
/** * {@inheritDoc} */ @Override public void setText(byte[] text) throws IllegalStateException { synchronized (this) { this._text = text; this._props = null; this.setNeedTextAnnouncing(true); } }
ServiceInfoImpl(Map<Fields, String> qualifiedNameMap, int port, int weight, int priority, boolean persistent, byte text[]) { Map<Fields, String> map = ServiceInfoImpl.checkQualifiedNameMap(qualifiedNameMap); this._domain = map.get(Fields.Domain); this._protocol = map.get(Fields.Protocol); this._application = map.get(Fields.Application); this._name = map.get(Fields.Instance); this._subtype = map.get(Fields.Subtype); this._port = port; this._weight = weight; this._priority = priority; this._text = text; this.setNeedTextAnnouncing(false); this._state = new ServiceInfoState(this); this._persistent = persistent; this._ipv4Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet4Address>()); this._ipv6Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet6Address>()); }
ServiceInfoImpl(Map<Fields, String> qualifiedNameMap, int port, int weight, int priority, boolean persistent, byte text[]) { Map<Fields, String> map = ServiceInfoImpl.checkQualifiedNameMap(qualifiedNameMap); this._domain = map.get(Fields.Domain); this._protocol = map.get(Fields.Protocol); this._application = map.get(Fields.Application); this._name = map.get(Fields.Instance); this._subtype = map.get(Fields.Subtype); this._port = port; this._weight = weight; this._priority = priority; this._text = text; this.setNeedTextAnnouncing(false); this._state = new ServiceInfoState(this); this._persistent = persistent; this._ipv4Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet4Address>()); this._ipv6Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet6Address>()); }
ServiceInfoImpl(Map<Fields, String> qualifiedNameMap, int port, int weight, int priority, boolean persistent, byte text[]) { Map<Fields, String> map = ServiceInfoImpl.checkQualifiedNameMap(qualifiedNameMap); this._domain = map.get(Fields.Domain); this._protocol = map.get(Fields.Protocol); this._application = map.get(Fields.Application); this._name = map.get(Fields.Instance); this._subtype = map.get(Fields.Subtype); this._port = port; this._weight = weight; this._priority = priority; this._text = text; this.setNeedTextAnnouncing(false); this._state = new ServiceInfoState(this); this._persistent = persistent; this._ipv4Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet4Address>()); this._ipv6Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet6Address>()); }
ServiceInfoImpl(Map<Fields, String> qualifiedNameMap, int port, int weight, int priority, boolean persistent, byte text[]) { Map<Fields, String> map = ServiceInfoImpl.checkQualifiedNameMap(qualifiedNameMap); this._domain = map.get(Fields.Domain); this._protocol = map.get(Fields.Protocol); this._application = map.get(Fields.Application); this._name = map.get(Fields.Instance); this._subtype = map.get(Fields.Subtype); this._port = port; this._weight = weight; this._priority = priority; this._text = text; this.setNeedTextAnnouncing(false); this._state = new ServiceInfoState(this); this._persistent = persistent; this._ipv4Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet4Address>()); this._ipv6Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet6Address>()); }
@Override protected void setTask(DNSTask task) { super.setTask(task); if ((this._task == null) && _info.needTextAnnouncing()) { this.lock(); try { if ((this._task == null) && _info.needTextAnnouncing()) { if (this._state.isAnnounced()) { this.setState(DNSState.ANNOUNCING_1); if (this.getDns() != null) { this.getDns().startAnnouncer(); } } _info.setNeedTextAnnouncing(false); } } finally { this.unlock(); } } }
@Override protected void setTask(DNSTask task) { super.setTask(task); if ((this._task == null) && _info.needTextAnnouncing()) { this.lock(); try { if ((this._task == null) && _info.needTextAnnouncing()) { if (this._state.isAnnounced()) { this.setState(DNSState.ANNOUNCING_1); if (this.getDns() != null) { this.getDns().startAnnouncer(); } } _info.setNeedTextAnnouncing(false); } } finally { this.unlock(); } } }
@Override protected void setTask(DNSTask task) { super.setTask(task); if ((this._task == null) && _info.needTextAnnouncing()) { this.lock(); try { if ((this._task == null) && _info.needTextAnnouncing()) { if (this._state.isAnnounced()) { this.setState(DNSState.ANNOUNCING_1); if (this.getDns() != null) { this.getDns().startAnnouncer(); } } _info.setNeedTextAnnouncing(false); } } finally { this.unlock(); } } }
@Override protected void setTask(DNSTask task) { super.setTask(task); if ((this._task == null) && _info.needTextAnnouncing()) { this.lock(); try { if ((this._task == null) && _info.needTextAnnouncing()) { if (this._state.isAnnounced()) { this.setState(DNSState.ANNOUNCING_1); if (this.getDns() != null) { this.getDns().startAnnouncer(); } } _info.setNeedTextAnnouncing(false); } } finally { this.unlock(); } } }