Class EppActionHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<InboundMessageType>
google.registry.monitoring.blackbox.handler.ActionHandler
google.registry.monitoring.blackbox.handler.EppActionHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class EppActionHandler extends ActionHandler
Subclass of ActionHandler that deals with the Epp Sequence

Main purpose is to verify EppResponseMessage received is valid. If not it throws the requisite error which is dealt with by the parent ActionHandler

  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler Link icon

    io.netty.channel.ChannelHandler.Sharable
  • Field Summary Link icon

    Fields inherited from class google.registry.monitoring.blackbox.handler.ActionHandler Link icon

    finished
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    channelRead0(io.netty.channel.ChannelHandlerContext ctx, InboundMessageType msg)
    Decodes the received response to ensure that it is what we expect and resets future in case EppActionHandler is reused.

    Methods inherited from class google.registry.monitoring.blackbox.handler.ActionHandler Link icon

    exceptionCaught, getFinishedFuture, handlerAdded

    Methods inherited from class io.netty.channel.SimpleChannelInboundHandler Link icon

    acceptInboundMessage, channelRead

    Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter Link icon

    channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter Link icon

    ensureNotSharable, handlerRemoved, isSharable

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.channel.ChannelHandler Link icon

    handlerRemoved