Class KeyRelayHandler

java.lang.Object
com.verisign.epp.framework.EPPKeyRelayHandler
com.verisign.epp.serverstub.KeyRelayHandler
All Implemented Interfaces:
EPPEventHandler

public class KeyRelayHandler extends EPPKeyRelayHandler
The KeyRelayHandler class is a concrete implementation of the abstract com.verisign.epp.framework.EPPKeyRelayHandler class. It defines the Server's response to all received EPP Host Commands.
See Also:
  • Constructor Details

    • KeyRelayHandler

      public KeyRelayHandler()
      Constructs an instance of KeyRelayHandler
  • Method Details

    • preHandleEvent

      protected void preHandleEvent(EPPEvent aEvent, Object aData) throws EPPHandleEventException
      Handles any common behavior that all KeyRelay commands need to execute before they execute their command specific behavior.
      Overrides:
      preHandleEvent in class EPPKeyRelayHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPKeyRelayHandler This is assumed to be an instance of SessionData here.
      Throws:
      EPPHandleEventException - Thrown if an error condition occurs. It must contain an EPPEventResponse
    • postHandleEvent

      protected void postHandleEvent(EPPEvent aEvent, Object aData) throws EPPHandleEventException
      Handles any common behavior that all KeyRelay commands need to execute after they execute their command specific behavior.
      Overrides:
      postHandleEvent in class EPPKeyRelayHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPKeyRelayHandler
      Throws:
      EPPHandleEventException - Thrown if an error condition occurs. It must contain an EPPEventResponse
    • doKeyRelayCreate

      protected EPPEventResponse doKeyRelayCreate(EPPEvent aEvent, Object aData)
      Invoked when a KeyRelay Create command is received.
      Specified by:
      doKeyRelayCreate in class EPPKeyRelayHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPKeyRelaydHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.