com.alipay.remoting.rpc
Class RpcConnectionEventHandler

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.ChannelDuplexHandler
              extended by com.alipay.remoting.ConnectionEventHandler
                  extended by com.alipay.remoting.rpc.RpcConnectionEventHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

public class RpcConnectionEventHandler
extends ConnectionEventHandler

ConnectionEventHandler for Rpc.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.alipay.remoting.ConnectionEventHandler
ConnectionEventHandler.ConnectionEventExecutor
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
RpcConnectionEventHandler()
           
RpcConnectionEventHandler(GlobalSwitch globalSwitch)
           
 
Method Summary
 void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
           
 
Methods inherited from class com.alipay.remoting.ConnectionEventHandler
channelActive, channelRegistered, channelUnregistered, close, connect, disconnect, exceptionCaught, getConnectionEventListener, getConnectionManager, setConnectionEventListener, setConnectionManager, setReconnectManager, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, deregister, flush, read, write
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelRead, channelReadComplete, channelWritabilityChanged
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
 

Constructor Detail

RpcConnectionEventHandler

public RpcConnectionEventHandler()

RpcConnectionEventHandler

public RpcConnectionEventHandler(GlobalSwitch globalSwitch)
Method Detail

channelInactive

public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
                     throws Exception
Specified by:
channelInactive in interface io.netty.channel.ChannelInboundHandler
Overrides:
channelInactive in class ConnectionEventHandler
Throws:
Exception
See Also:
ConnectionEventHandler.channelInactive(io.netty.channel.ChannelHandlerContext)


Copyright © 2018. All rights reserved.