public interface AsyncByteChannel extends AsynchronousByteChannel, AsyncChannel
| Modifier and Type | Method and Description |
|---|---|
static <V> CompletionHandler<V,Object> |
handler(BiConsumer<? super V,? super Throwable> handler) |
Promise<Integer> |
read(ByteBuffer dst) |
Promise<Integer> |
write(ByteBuffer src) |
read, writeclosePromise<Integer> read(ByteBuffer dst)
read in interface AsynchronousByteChannelPromise<Integer> write(ByteBuffer src)
write in interface AsynchronousByteChannelstatic <V> CompletionHandler<V,Object> handler(BiConsumer<? super V,? super Throwable> handler)
Copyright © 2021. All rights reserved.