public class ContactPollHandler extends java.lang.Object implements EPPPollHandler
Constructor and Description |
---|
ContactPollHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKind()
Gets the kind of poll handler.
|
EPPResponse |
toResponse(EPPPollDataRecord aRecord)
Converts the internal poll data record to
a valid
EPPResponse . |
public java.lang.String getKind()
getKind
in interface EPPPollHandler
public EPPResponse toResponse(EPPPollDataRecord aRecord) throws EPPPollQueueException
EPPResponse
.toResponse
in interface EPPPollHandler
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 an EPPResponse
.EPPResponse
representing the
poll message.EPPPollQueueException
- Error converting record to an
EPPResponse