Package com.verisign.epp.serverstub
Class ChangePollDomainHandler
java.lang.Object
com.verisign.epp.framework.EPPDomainHandler
com.verisign.epp.serverstub.DomainHandler
com.verisign.epp.serverstub.ChangePollDomainHandler
- All Implemented Interfaces:
EPPEventHandler
The
ChangePollDomainHandler class extends
DomainHandler to include handling the change poll extension.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoDomainCreate(EPPEvent aEvent, Object aData) Override base handlerdoDomainCreatemethod to accept a domain create of "change-poll.tld" that will place a change poll message in the poll queue for consumption by the client.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Will ensure that the namestore extension is provided.Methods inherited from class com.verisign.epp.serverstub.DomainHandler
doDomainCheck, doDomainDelete, doDomainInfo, doDomainRenew, doDomainTransfer, doDomainUpdate, postHandleEventMethods inherited from class com.verisign.epp.framework.EPPDomainHandler
getNamespace, handleEvent
-
Constructor Details
-
ChangePollDomainHandler
public ChangePollDomainHandler()Constructs an instance of ChangePollDomainHandler
-
-
Method Details
-
preHandleEvent
Will ensure that the namestore extension is provided.- Overrides:
preHandleEventin classDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPDomainHandlerThis is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doDomainCreate
Override base handlerdoDomainCreatemethod to accept a domain create of "change-poll.tld" that will place a change poll message in the poll queue for consumption by the client.- Overrides:
doDomainCreatein classDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPDomaindHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-