public class SslAsynchronousSocketChannel extends AsynchronousSocketChannelProxy
| 构造器和说明 |
|---|
SslAsynchronousSocketChannel(AsynchronousSocketChannel asynchronousSocketChannel,
SslService sslService,
BufferPage bufferPage) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
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, isOpen, setOption, shutdownInput, shutdownOutput, supportedOptionspublic SslAsynchronousSocketChannel(AsynchronousSocketChannel asynchronousSocketChannel, SslService sslService, BufferPage bufferPage)
public <A> void read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
read 在类中 AsynchronousSocketChannelProxypublic Future<Integer> read(ByteBuffer dst)
read 在接口中 AsynchronousByteChannelread 在类中 AsynchronousSocketChannelProxypublic <A> void read(ByteBuffer[] dsts, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
read 在类中 AsynchronousSocketChannelProxypublic <A> void write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
write 在类中 AsynchronousSocketChannelProxypublic Future<Integer> write(ByteBuffer src)
write 在接口中 AsynchronousByteChannelwrite 在类中 AsynchronousSocketChannelProxypublic <A> void write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
write 在类中 AsynchronousSocketChannelProxypublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 AsynchronousChannelclose 在接口中 Channelclose 在类中 AsynchronousSocketChannelProxyIOExceptionCopyright © 2024. All rights reserved.