public class ApiGatewayClientSocketSession extends AbstractSession implements IClientSession
EVENT_TYPE_CLOSE, EVENT_TYPE_OPEN| 构造器和说明 |
|---|
ApiGatewayClientSocketSession(io.netty.channel.ChannelHandlerContext ctx,
int readBufferSize,
int heardbeatInterval) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close(boolean flag) |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
boolean |
isServer() |
void |
write(Message msg) |
active, addSessionListener, dump, dump, equals, getId, getParam, getReadBufferSize, getReadSum, getReceiver, getWriteSum, hashCode, init, isActive, isClose, isDumpDownStream, isDumpUpStream, isOpenDebug, lastActiveTime, localHost, localPort, notifySessionEvent, putParam, receive, remoteHost, remotePort, removeSessionListener, setDumpDownStream, setDumpUpStream, setId, setOpenDebug, setReceiver, waitingCloseactive, addSessionListener, getId, getParam, getReadBufferSize, getReadSum, getWriteSum, isActive, isClose, lastActiveTime, localHost, localPort, notifySessionEvent, putParam, receive, remoteHost, remotePort, removeSessionListener, setDumpDownStream, setDumpUpStream, setId, waitingClosepublic ApiGatewayClientSocketSession(io.netty.channel.ChannelHandlerContext ctx,
int readBufferSize,
int heardbeatInterval)
public InetSocketAddress getLocalAddress()
getLocalAddress 在类中 AbstractSessionpublic InetSocketAddress getRemoteAddress()
getRemoteAddress 在类中 AbstractSessionpublic void close(boolean flag)
close 在接口中 ISessionclose 在类中 AbstractSessionCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.