class RpcConnectionEventHandler extends ConnectionEventHandler {

    public RpcConnectionEventHandler() {
        super();
    }

    public RpcConnectionEventHandler(Configuration configuration) {
        super(configuration);
    }

    /**
     * @see com.alipay.remoting.ConnectionEventHandler#channelInactive(io.netty.channel.ChannelHandlerContext)
     */
    @Override
    public void channelInactive(ChannelHandlerContext ctx) throws Exception {<FILL_FUNCTION_BODY>}
}

        Connection conn = ctx.channel().attr(Connection.CONNECTION).get();
        if (conn != null) {
            this.getConnectionManager().remove(conn);
        }
        super.channelInactive(ctx);
    
<methods>public void <init>() ,public void <init>(com.alipay.remoting.config.Configuration) ,public void channelActive(ChannelHandlerContext) throws java.lang.Exception,public void channelInactive(ChannelHandlerContext) throws java.lang.Exception,public void channelRegistered(ChannelHandlerContext) throws java.lang.Exception,public void channelUnregistered(ChannelHandlerContext) throws java.lang.Exception,public void close(ChannelHandlerContext, ChannelPromise) throws java.lang.Exception,public void connect(ChannelHandlerContext, java.net.SocketAddress, java.net.SocketAddress, ChannelPromise) throws java.lang.Exception,public void disconnect(ChannelHandlerContext, ChannelPromise) throws java.lang.Exception,public void exceptionCaught(ChannelHandlerContext, java.lang.Throwable) throws java.lang.Exception,public com.alipay.remoting.ConnectionEventListener getConnectionEventListener() ,public com.alipay.remoting.ConnectionManager getConnectionManager() ,public void setConnectionEventListener(com.alipay.remoting.ConnectionEventListener) ,public void setConnectionManager(com.alipay.remoting.ConnectionManager) ,public void setReconnectManager(com.alipay.remoting.ReconnectManager) ,public void setReconnector(com.alipay.remoting.Reconnector) ,public void userEventTriggered(ChannelHandlerContext, java.lang.Object) throws java.lang.Exception<variables>private com.alipay.remoting.config.Configuration configuration,private com.alipay.remoting.ConnectionManager connectionManager,private com.alipay.remoting.ConnectionEventHandler.ConnectionEventExecutor eventExecutor,private com.alipay.remoting.ConnectionEventListener eventListener,private static final Logger logger,private com.alipay.remoting.Reconnector reconnectManager