public class IdleStatePluginEx.IdleMonitorChannel
extends org.smartboot.socket.channels.AsynchronousSocketChannelProxy
| 构造器和说明 |
|---|
IdleMonitorChannel(AsynchronousSocketChannel asynchronousSocketChannel) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
<A> void |
read(ByteBuffer dst,
long timeout,
TimeUnit unit,
A attachment,
CompletionHandler<Integer,? super A> handler) |
<A> void |
write(ByteBuffer src,
long timeout,
TimeUnit unit,
A attachment,
CompletionHandler<Integer,? super A> handler) |
public IdleMonitorChannel(AsynchronousSocketChannel asynchronousSocketChannel)
public <A> void read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
read 在类中 org.smartboot.socket.channels.AsynchronousSocketChannelProxypublic <A> void write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
write 在类中 org.smartboot.socket.channels.AsynchronousSocketChannelProxypublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 AsynchronousChannelclose 在接口中 Channelclose 在类中 org.smartboot.socket.channels.AsynchronousSocketChannelProxyIOExceptionCopyright © 2024. All rights reserved.