java.nio.channels.AsynchronousByteChannel Maven / Gradle / Ivy
package java.nio.channels;
import java.nio.ByteBuffer;
import java.util.concurrent.Future;
public interface AsynchronousByteChannel extends AsynchronousChannel {
void read(ByteBuffer dst, A attachment, CompletionHandler handler);
Future read(ByteBuffer dst);
void write(ByteBuffer src, A attachment, CompletionHandler handler);
Future write(ByteBuffer src);
}