Package com.verisign.epp.serverstub
Class NameWatchHandler
java.lang.Object
com.verisign.epp.framework.EPPNameWatchHandler
com.verisign.epp.serverstub.NameWatchHandler
- All Implemented Interfaces:
EPPEventHandler
The
NameWatchHandler class is a concrete implementation of the
abstract com.verisign.epp.framework.EPPNameWatchHandler class.
It defines the Server's response to all received EPP NameWatch Commands.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoNameWatchCreate(EPPEvent aEvent, Object aData) Invoked when a NameWatch Create command is received.protected EPPEventResponsedoNameWatchDelete(EPPEvent aEvent, Object aData) Invoked when a NameWatch Delete command is received.protected EPPEventResponsedoNameWatchInfo(EPPEvent aEvent, Object aData) Invoked when a NameWatch Info command is received.protected EPPEventResponsedoNameWatchRenew(EPPEvent aEvent, Object aData) Invoked when a NameWatch Renew command is received.protected EPPEventResponsedoNameWatchTransfer(EPPEvent aEvent, Object aData) Invoked when a NameWatch Transfer command is received.protected EPPEventResponsedoNameWatchUpdate(EPPEvent aEvent, Object aData) Invoked when a NameWatch Update command is received.protected voidpostHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all NameWatch commands need to execute after they execute their command specific behavior.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all NameWatch commands need to execute before they execute their command specific behavior.Methods inherited from class com.verisign.epp.framework.EPPNameWatchHandler
getNamespace, handleEvent
-
Constructor Details
-
NameWatchHandler
public NameWatchHandler()Constructs an instance of NameWatchHandler
-
-
Method Details
-
preHandleEvent
Handles any common behavior that all NameWatch commands need to execute before they execute their command specific behavior.- Overrides:
preHandleEventin classEPPNameWatchHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPNameWatchHandlerThis 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 NameWatch commands need to execute after they execute their command specific behavior.- Overrides:
postHandleEventin classEPPNameWatchHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPNameWatchHandler- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doNameWatchRenew
Invoked when a NameWatch Renew command is received.- Specified by:
doNameWatchRenewin classEPPNameWatchHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPNameWatchdHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doNameWatchDelete
Invoked when a NameWatch Delete command is received.- Specified by:
doNameWatchDeletein classEPPNameWatchHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPNameWatchdHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doNameWatchCreate
Invoked when a NameWatch Create command is received.- Specified by:
doNameWatchCreatein classEPPNameWatchHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPNameWatchdHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doNameWatchTransfer
Invoked when a NameWatch Transfer command is received.- Specified by:
doNameWatchTransferin classEPPNameWatchHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPNameWatchdHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doNameWatchUpdate
Invoked when a NameWatch Update command is received.- Specified by:
doNameWatchUpdatein classEPPNameWatchHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPNameWatchdHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doNameWatchInfo
Invoked when a NameWatch Info command is received.- Specified by:
doNameWatchInfoin classEPPNameWatchHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPNameWatchdHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-