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