Class QuotaHandler.EppQuotaHandler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
    Enclosing class:
    QuotaHandler

    public static class QuotaHandler.EppQuotaHandler
    extends QuotaHandler
    Quota Handler for EPP protocol.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void channelInactive​(io.netty.channel.ChannelHandlerContext ctx)
      Returns the leased token (if available) back to the token store upon connection termination.
      • Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

        channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
      • 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
    • Method Detail

      • channelInactive

        public void channelInactive​(io.netty.channel.ChannelHandlerContext ctx)
        Returns the leased token (if available) back to the token store upon connection termination.

        A connection with concurrent quota needs to do this in order to maintain its quota number invariance.

        Specified by:
        channelInactive in interface io.netty.channel.ChannelInboundHandler
        Specified by:
        channelInactive in class QuotaHandler