@Override public Connection atPrio (int priority) { if (_owner == null) throw new IllegalStateException( "Cannot change priority of disconnected connection."); _owner.disconnect(this); next = null; _priority = priority; _owner.addCons(this); return this; }
@Override public Connection atPrio (int priority) { if (_owner == null) throw new IllegalStateException( "Cannot change priority of disconnected connection."); _owner.disconnect(this); next = null; _priority = priority; _owner.addCons(this); return this; }
@Override public void close () { // multiple disconnects are OK, we just NOOP after the first one if (_owner != null) { _ref.defang(_owner.placeholderListener()); _owner.disconnect(this); _owner = null; } }
@Override public void close () { // multiple disconnects are OK, we just NOOP after the first one if (_owner != null) { _ref.defang(_owner.placeholderListener()); _owner.disconnect(this); _owner = null; } }