public interface AsyncChannelWrapper
AsynchronousSocketChannel
that limits the methods available thereby simplifying the process of
implementing SSL/TLS support since there are fewer methods to intercept.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) |
Future<Integer> read(ByteBuffer dst)
<B,A extends B> void read(ByteBuffer dst, A attachment, CompletionHandler<Integer,B> handler)
Future<Integer> write(ByteBuffer src)
<B,A extends B> void write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,B> handler)
void close()
Future<Void> handshake() throws SSLException
SSLException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.