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