public class SslSocketChannel extends AsynchronousSocketChannelProxy
asynchronousSocketChannel| Constructor and Description |
|---|
SslSocketChannel(AsynchronousSocketChannel asynchronousSocketChannel,
SslService sslService,
org.aoju.bus.core.io.PageBuffer pageBuffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isOpen() |
Future<Integer> |
read(ByteBuffer dst) |
<A> void |
read(ByteBuffer[] dsts,
int offset,
int length,
long timeout,
TimeUnit unit,
A attachment,
CompletionHandler<Long,? super A> handler) |
<A> void |
read(ByteBuffer dst,
long timeout,
TimeUnit unit,
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) |
<A> void |
write(ByteBuffer src,
long timeout,
TimeUnit unit,
A attachment,
CompletionHandler<Integer,? super A> handler) |
bind, connect, connect, getLocalAddress, getOption, getRemoteAddress, setOption, shutdownInput, shutdownOutput, supportedOptionspublic SslSocketChannel(AsynchronousSocketChannel asynchronousSocketChannel, SslService sslService, org.aoju.bus.core.io.PageBuffer pageBuffer)
public <A> void read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
read in class AsynchronousSocketChannelProxypublic Future<Integer> read(ByteBuffer dst)
read in interface AsynchronousByteChannelread in class AsynchronousSocketChannelProxypublic <A> void read(ByteBuffer[] dsts, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
read in class AsynchronousSocketChannelProxypublic <A> void write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
write in class AsynchronousSocketChannelProxypublic Future<Integer> write(ByteBuffer src)
write in interface AsynchronousByteChannelwrite in class AsynchronousSocketChannelProxypublic <A> void write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
write in class AsynchronousSocketChannelProxypublic boolean isOpen()
isOpen in interface ChannelisOpen in class AsynchronousSocketChannelProxypublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface AsynchronousChannelclose in interface Channelclose in class AsynchronousSocketChannelProxyIOExceptionCopyright © 2021. All rights reserved.