Class BalanceDomainHandler
java.lang.Object
com.verisign.epp.framework.EPPDomainHandler
com.verisign.epp.serverstub.balance.v01.BalanceDomainHandler
- All Implemented Interfaces:
EPPEventHandler
The
LowBalanceDomainHandler class is a concrete implementation
of the abstract com.verisign.epp.framework.EPPDomainHandler
class. It defines the Server's response to all received EPP Host Commands.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoDomainCheck(EPPEvent aEvent, Object aData) Invoked when a Domain Check command is received.protected EPPEventResponsedoDomainCreate(EPPEvent aEvent, Object aData) Invoked when a Domain Create command is received.protected EPPEventResponsedoDomainDelete(EPPEvent aEvent, Object aData) Invoked when a Domain Delete command is received.protected EPPEventResponsedoDomainInfo(EPPEvent aEvent, Object aData) Invoked when a Domain Info command is received.protected EPPEventResponsedoDomainRenew(EPPEvent aEvent, Object aData) Invoked when a Domain Renew command is received.protected EPPEventResponsedoDomainTransfer(EPPEvent aEvent, Object aData) Invoked when a Domain Transfer command is received.protected EPPEventResponsedoDomainUpdate(EPPEvent aEvent, Object aData) Invoked when a Domain Update command is received.protected voidpostHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all Domain commands need to execute after they execute their command specific behavior.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all Domain commands need to execute before they execute their command specific behavior.Methods inherited from class com.verisign.epp.framework.EPPDomainHandler
getNamespace, handleEvent
-
Constructor Details
-
BalanceDomainHandler
public BalanceDomainHandler()Constructs an instance of LowBalanceDomainHandler
-
-
Method Details
-
preHandleEvent
Handles any common behavior that all Domain commands need to execute before they execute their command specific behavior.- Overrides:
preHandleEventin classEPPDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPLowBalanceDomainHandlerThis is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
postHandleEvent
Handles any common behavior that all Domain commands need to execute after they execute their command specific behavior.- Overrides:
postHandleEventin classEPPDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPLowBalanceDomainHandler- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doDomainCreate
Invoked when a Domain Create command is received.- Specified by:
doDomainCreatein classEPPDomainHandler- 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.
-
doDomainCheck
Invoked when a Domain Check command is received.- Specified by:
doDomainCheckin classEPPDomainHandler- 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.
-
doDomainRenew
Invoked when a Domain Renew command is received.- Specified by:
doDomainRenewin classEPPDomainHandler- 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.
-
doDomainDelete
Invoked when a Domain Delete command is received.- Specified by:
doDomainDeletein classEPPDomainHandler- 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.
-
doDomainTransfer
Invoked when a Domain Transfer command is received.- Specified by:
doDomainTransferin classEPPDomainHandler- 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.
-
doDomainUpdate
Invoked when a Domain Update command is received.- Specified by:
doDomainUpdatein classEPPDomainHandler- 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.
-
doDomainInfo
Invoked when a Domain Info command is received.- Specified by:
doDomainInfoin classEPPDomainHandler- 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.
-