Package com.verisign.epp.serverstub
Class NameWatchHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPNameWatchHandler
-
- com.verisign.epp.serverstub.NameWatchHandler
-
- All Implemented Interfaces:
EPPEventHandler
public class NameWatchHandler extends EPPNameWatchHandler
TheNameWatchHandlerclass is a concrete implementation of the abstractcom.verisign.epp.framework.EPPNameWatchHandlerclass. It defines the Server's response to all received EPP NameWatch Commands.- See Also:
EPPEvent,EPPEventResponse
-
-
Constructor Summary
Constructors Constructor Description NameWatchHandler()Constructs an instance of NameWatchHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPPEventResponsedoNameWatchCreate(EPPEvent aEvent, java.lang.Object aData)Invoked when a NameWatch Create command is received.protected EPPEventResponsedoNameWatchDelete(EPPEvent aEvent, java.lang.Object aData)Invoked when a NameWatch Delete command is received.protected EPPEventResponsedoNameWatchInfo(EPPEvent aEvent, java.lang.Object aData)Invoked when a NameWatch Info command is received.protected EPPEventResponsedoNameWatchRenew(EPPEvent aEvent, java.lang.Object aData)Invoked when a NameWatch Renew command is received.protected EPPEventResponsedoNameWatchTransfer(EPPEvent aEvent, java.lang.Object aData)Invoked when a NameWatch Transfer command is received.protected EPPEventResponsedoNameWatchUpdate(EPPEvent aEvent, java.lang.Object aData)Invoked when a NameWatch Update command is received.protected voidpostHandleEvent(EPPEvent aEvent, java.lang.Object aData)Handles any common behavior that all NameWatch commands need to execute after they execute their command specific behavior.protected voidpreHandleEvent(EPPEvent aEvent, java.lang.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
-
-
-
-
Method Detail
-
preHandleEvent
protected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
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
protected void postHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
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
protected EPPEventResponse doNameWatchRenew(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doNameWatchDelete(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doNameWatchCreate(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doNameWatchTransfer(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doNameWatchUpdate(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doNameWatchInfo(EPPEvent aEvent, java.lang.Object aData)
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.
-
-