Package com.verisign.epp.serverstub
Class KeyRelayHandler
java.lang.Object
com.verisign.epp.framework.EPPKeyRelayHandler
com.verisign.epp.serverstub.KeyRelayHandler
- All Implemented Interfaces:
EPPEventHandler
The
KeyRelayHandler class is a concrete implementation of the
abstract com.verisign.epp.framework.EPPKeyRelayHandler class. It
defines the Server's response to all received EPP Host Commands. - See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoKeyRelayCreate(EPPEvent aEvent, Object aData) Invoked when a KeyRelay Create command is received.protected voidpostHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all KeyRelay commands need to execute after they execute their command specific behavior.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all KeyRelay commands need to execute before they execute their command specific behavior.Methods inherited from class com.verisign.epp.framework.EPPKeyRelayHandler
getNamespace, handleEvent
-
Constructor Details
-
KeyRelayHandler
public KeyRelayHandler()Constructs an instance of KeyRelayHandler
-
-
Method Details
-
preHandleEvent
Handles any common behavior that all KeyRelay commands need to execute before they execute their command specific behavior.- Overrides:
preHandleEventin classEPPKeyRelayHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPKeyRelayHandlerThis 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 KeyRelay commands need to execute after they execute their command specific behavior.- Overrides:
postHandleEventin classEPPKeyRelayHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPKeyRelayHandler- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doKeyRelayCreate
Invoked when a KeyRelay Create command is received.- Specified by:
doKeyRelayCreatein classEPPKeyRelayHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPKeyRelaydHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-