Class BalanceDomainHandler
java.lang.Object
com.verisign.epp.framework.EPPDomainHandler
com.verisign.epp.serverstub.DomainHandler
com.verisign.epp.serverstub.balance.BalanceDomainHandler
- All Implemented Interfaces:
EPPEventHandler
The
BalanceDomainHandler class extends DomainHandler to
include handling the low balance poll message.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoDomainCreate(EPPEvent aEvent, Object aData) Override base handlerdoDomainCreatemethod to accept a domain create of a domain name with the ABNF "balance-domain-v" 2DIGIT ".example" that will place a low balance poll message in the poll queue for consumption by the client.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Implement any needed pre-handling of a command.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
-
BalanceDomainHandler
public BalanceDomainHandler()Constructs an instance of BalanceDomainHandler
-
-
Method Details
-
preHandleEvent
Implement any needed pre-handling of a command.- 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 a domain name with the ABNF "balance-domain-v" 2DIGIT ".example" that will place a low balance 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.
-