Package com.verisign.epp.serverstub
Class ContactPollHandler
java.lang.Object
com.verisign.epp.serverstub.ContactPollHandler
- All Implemented Interfaces:
EPPPollHandler
The <ContactPollHandler> implements EPPPollHandler for Contact name
mapping only.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()Gets the kind of poll handler.toResponse(EPPPollDataRecord aRecord) Converts the internal poll data record to a validEPPResponse.
-
Constructor Details
-
ContactPollHandler
public ContactPollHandler()
-
-
Method Details
-
getKind
Gets the kind of poll handler. The kind value is used for routing poll messaging to the appropriate handler. Client inserting poll messaging should reference the correct value for the message kind to ensure that there is a handler that can handle the message.- Specified by:
getKindin interfaceEPPPollHandler- Returns:
- EPPPollHandler kind which should be unique per handler
-
toResponse
Converts the internal poll data record to a validEPPResponse.- Specified by:
toResponsein interfaceEPPPollHandler- Parameters:
aRecord- Poll data record containing poll queue meta information like the number of messages in the queue as well as the concrete poll message to be converted to anEPPResponse.- Returns:
EPPResponserepresenting the poll message.- Throws:
EPPPollQueueException- Error converting record to anEPPResponse
-