public class AsyncChannelWrapperNonSecure extends Object implements AsyncChannelWrapper
AsynchronousSocketChannel. In some cases exceptions may be swallowed
 to save them being swallowed by the calling code.| Constructor and Description | 
|---|
| AsyncChannelWrapperNonSecure(AsynchronousSocketChannel socketChannel) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| Future<Void> | handshake() | 
| Future<Integer> | read(ByteBuffer dst) | 
| <B,A extends B>  | read(ByteBuffer dst,
    A attachment,
    CompletionHandler<Integer,B> handler) | 
| Future<Integer> | write(ByteBuffer src) | 
| <B,A extends B>  | write(ByteBuffer[] srcs,
     int offset,
     int length,
     long timeout,
     TimeUnit unit,
     A attachment,
     CompletionHandler<Long,B> handler) | 
public AsyncChannelWrapperNonSecure(AsynchronousSocketChannel socketChannel)
public Future<Integer> read(ByteBuffer dst)
read in interface AsyncChannelWrapperpublic <B,A extends B> void read(ByteBuffer dst, A attachment, CompletionHandler<Integer,B> handler)
read in interface AsyncChannelWrapperpublic Future<Integer> write(ByteBuffer src)
write in interface AsyncChannelWrapperpublic <B,A extends B> void write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,B> handler)
write in interface AsyncChannelWrapperpublic void close()
close in interface AsyncChannelWrapperpublic Future<Void> handshake()
handshake in interface AsyncChannelWrapperCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.