125126127128129130131132133
*/ public IoFuture<Void, Void> write(ByteBuffer src, CompletionHandler<Void, Void> handler) { if (!writePending.compareAndSet(false, true)) { throw new WritePendingException(); } return new Writer(handler, src).start(); }
127128129130131132133134135