Class KeyRelayPollHandler

java.lang.Object
com.verisign.epp.serverstub.KeyRelayPollHandler
All Implemented Interfaces:
EPPPollHandler

public class KeyRelayPollHandler extends Object implements EPPPollHandler
The KeyRelayPollHandler implements EPPPollHandler for KeyRelay Name Mapping.
  • Constructor Details

    • KeyRelayPollHandler

      public KeyRelayPollHandler()
  • Method Details

    • getKind

      public String getKind()
      Gets the kind of poll messages it handles.
      Specified by:
      getKind in interface EPPPollHandler
      Returns:
      The keyrelay name XML namespace represented by EPPKeyRelayMapFactory.NS.
    • toResponse

      public EPPResponse toResponse(EPPPollDataRecord aRecord) throws EPPPollQueueException
      Converts a poll queue EPPPollDataRecord to an EPPResponse.
      Specified by:
      toResponse in interface EPPPollHandler
      Parameters:
      aRecord - Poll queue record to convert to an EPPResponse.
      Returns:
      An EPPResponse that represents the poll queue record.
      Throws:
      EPPPollQueueException - Error converting the EPPPollDataRecord to an EPPResponse.