public class SessionConnectionHandler extends AbstractServerHandler implements NodeConnectManager
ChannelHandler.HandlerType, ChannelHandler.InvokeType| 构造器和说明 |
|---|
SessionConnectionHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addConnection(Channel channel) |
void |
connected(Channel channel) |
void |
disconnected(Channel channel) |
Collection<InetSocketAddress> |
getConnections(String dataCenter) |
Node.NodeType |
getNodeType() |
ChannelHandler.HandlerType |
getType() |
boolean |
removeConnection(Channel channel) |
caught, interest, received, replyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExecutor, getInvokeTypepublic void connected(Channel channel) throws RemotingException
connected 在接口中 ChannelHandlerconnected 在类中 AbstractServerHandlerRemotingExceptionpublic void disconnected(Channel channel) throws RemotingException
disconnected 在接口中 ChannelHandlerdisconnected 在类中 AbstractServerHandlerRemotingExceptionpublic void addConnection(Channel channel)
addConnection 在接口中 NodeConnectManagerpublic boolean removeConnection(Channel channel)
removeConnection 在接口中 NodeConnectManagerpublic Collection<InetSocketAddress> getConnections(String dataCenter)
getConnections 在接口中 NodeConnectManagerpublic ChannelHandler.HandlerType getType()
getType 在接口中 ChannelHandlerpublic Node.NodeType getNodeType()
getNodeType 在接口中 NodeConnectManagerCopyright © 2019 The Ant Financial. All rights reserved.