public class TcpAioChannelAssistant extends Object implements ChannelAssistant<org.smartboot.socket.transport.AioSession>
| 构造器和说明 |
|---|
TcpAioChannelAssistant(Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close(org.smartboot.socket.transport.AioSession target) |
InetSocketAddress |
getLocalAddress(org.smartboot.socket.transport.AioSession target) |
InetSocketAddress |
getRemoteAddress(org.smartboot.socket.transport.AioSession target) |
boolean |
isValid(org.smartboot.socket.transport.AioSession target) |
void |
write(org.smartboot.socket.transport.AioSession source,
Frame frame) |
public TcpAioChannelAssistant(Config config)
public void write(org.smartboot.socket.transport.AioSession source,
Frame frame)
throws IOException
write 在接口中 ChannelAssistant<org.smartboot.socket.transport.AioSession>IOExceptionpublic boolean isValid(org.smartboot.socket.transport.AioSession target)
isValid 在接口中 ChannelAssistant<org.smartboot.socket.transport.AioSession>public void close(org.smartboot.socket.transport.AioSession target)
throws IOException
close 在接口中 ChannelAssistant<org.smartboot.socket.transport.AioSession>IOExceptionpublic InetSocketAddress getRemoteAddress(org.smartboot.socket.transport.AioSession target) throws IOException
getRemoteAddress 在接口中 ChannelAssistant<org.smartboot.socket.transport.AioSession>IOExceptionpublic InetSocketAddress getLocalAddress(org.smartboot.socket.transport.AioSession target) throws IOException
getLocalAddress 在接口中 ChannelAssistant<org.smartboot.socket.transport.AioSession>IOExceptionCopyright © 2024. All rights reserved.