Package com.verisign.epp.serverstub
Class RZChangeHandler
java.lang.Object
com.verisign.epp.framework.EPPChangeHandler
com.verisign.epp.serverstub.RZChangeHandler
- All Implemented Interfaces:
EPPEventHandler
Handler that simulates a persistent Change Handler by using the
RootZoneManager. This handler is not used for the client server test,
since the client tests simply exercise the interface and doesn't work with a
persistent handler. Use ChangeHandler for
the client server tests and this handler when manually testing the behavior
of the server.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoChangeCheck(EPPEvent aEvent, Object aData) Invoked when a Change Info command is received.protected EPPEventResponsedoChangeCreate(EPPEvent aEvent, Object aData) protected EPPEventResponsedoChangeDelete(EPPEvent aEvent, Object aData) protected EPPEventResponsedoChangeInfo(EPPEvent aEvent, Object aData) protected EPPEventResponsedoChangeUpdate(EPPEvent aEvent, Object aData) protected voidpostHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all Change commands need to execute after they execute their command specific behavior.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all Change commands need to execute before they execute their command specific behavior.Methods inherited from class com.verisign.epp.framework.EPPChangeHandler
getNamespace, handleEvent
-
Constructor Details
-
RZChangeHandler
public RZChangeHandler()Constructs an instance of RZChangeHandler
-
-
Method Details
-
preHandleEvent
Handles any common behavior that all Change commands need to execute before they execute their command specific behavior.- Overrides:
preHandleEventin classEPPChangeHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPChangeHandlerThis 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 Change commands need to execute after they execute their command specific behavior.- Overrides:
postHandleEventin classEPPChangeHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPChangeHandler- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doChangeCheck
Invoked when a Change Info command is received.- Specified by:
doChangeCheckin classEPPChangeHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPChangedHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doChangeInfo
- Specified by:
doChangeInfoin classEPPChangeHandler
-
doChangeCreate
- Specified by:
doChangeCreatein classEPPChangeHandler
-
doChangeUpdate
- Specified by:
doChangeUpdatein classEPPChangeHandler
-
doChangeDelete
- Specified by:
doChangeDeletein classEPPChangeHandler
-