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

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

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

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

    finished
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    exceptionCaught, getFinishedFuture, handlerAdded

    Methods inherited from class io.netty.channel.SimpleChannelInboundHandler

    acceptInboundMessage, channelRead

    Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

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

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, 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

    handlerRemoved