Package com.verisign.epp.framework

## Interface EPPPollHandler

- All Known Implementing Classes:
    `ContactPollHandler`, `DomainPollHandler`, `LaunchPollHandler`, `LowBalancePollHandler`, `MaintenancePollHandler`, `NameVerificationPollHandler`, `NSPollHandler`, `OrgPollHandler`, `RegistryPollHandler`, `RgpDomainPollHandler`

      public interface EPPPollHandler

  Represents an EPPPollHandler interface that is implemented by any class that needs to manipulate their own poll handler.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getKind()` | Gets the kind of poll messages it handles.
    `EPPResponse` | `toResponse​(EPPPollDataRecord aRecord)` | Converts a poll queue `EPPPollDataRecord` to an `EPPResponse`.

- - ### Method Detail

    - #### getKind

          java.lang.String getKind()

      Gets the kind of poll messages it handles.
      Returns:
        The XML namespace represented for the poll handler.

    - #### toResponse

          EPPResponse toResponse​(EPPPollDataRecord aRecord)
                          throws EPPPollQueueException

      Converts a poll queue `EPPPollDataRecord` to an `EPPResponse`.
      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`.