public int select(long timeout) throws IOException { return delegate.select(timeout); } public int select() throws IOException { return delegate.select(); }
public Keys select() { try { int count = selector.select(); Set<SelectionKey> selectedKeys = selector.selectedKeys(); return new Keys(count, selectedKeys); } catch (IOException e) { throw new NioException(e); } }
public int select() throws IOException { return delegate.select(); } public Selector wakeup() { return delegate.wakeup(); }