Class OrgPollHandler

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

public class OrgPollHandler extends Object implements EPPPollHandler
The OrgPollHandler implements EPPPollHandler for Org Name Mapping.
  • Field Details

  • Constructor Details

    • OrgPollHandler

      public OrgPollHandler()
  • Method Details

    • getKind

      public String getKind()
      Gets the kind of poll messages it handles.
      Specified by:
      getKind in interface EPPPollHandler
      Returns:
      The domain name XML namespace represented by @link EPPOrgMapFactory.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.