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) |
<A> void |
read(ByteBuffer dst,
A attachment,
CompletionHandler<Integer,? super A> handler) |
Future<Integer> |
write(ByteBuffer src) |
<A> void |
write(ByteBuffer[] srcs,
int offset,
int length,
long timeout,
TimeUnit unit,
A attachment,
CompletionHandler<Long,? super A> handler) |
Future<Integer> read(ByteBuffer dst)
<A> void read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)
Future<Integer> write(ByteBuffer src)
<A> void write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
void close()
Future<Void> handshake() throws SSLException
SSLException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.