@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; }
protected synchronized Cons addConnection (RListener listener) { if (listener == null) throw new NullPointerException("Null listener"); return addCons(new Cons(this, listener)); }
protected synchronized Cons addConnection (RListener listener) { if (listener == null) throw new NullPointerException("Null listener"); return addCons(new Cons(this, listener)); }