public class NameWatchHandler extends EPPNameWatchHandler
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.
EPPEvent
,
EPPEventResponse
Constructor and Description |
---|
NameWatchHandler()
Constructs an instance of NameWatchHandler
|
Modifier and Type | Method and Description |
---|---|
protected EPPEventResponse |
doNameWatchCreate(EPPEvent aEvent,
java.lang.Object aData)
Invoked when a NameWatch Create command is received.
|
protected EPPEventResponse |
doNameWatchDelete(EPPEvent aEvent,
java.lang.Object aData)
Invoked when a NameWatch Delete command is received.
|
protected EPPEventResponse |
doNameWatchInfo(EPPEvent aEvent,
java.lang.Object aData)
Invoked when a NameWatch Info command is received.
|
protected EPPEventResponse |
doNameWatchRenew(EPPEvent aEvent,
java.lang.Object aData)
Invoked when a NameWatch Renew command is received.
|
protected EPPEventResponse |
doNameWatchTransfer(EPPEvent aEvent,
java.lang.Object aData)
Invoked when a NameWatch Transfer command is received.
|
protected EPPEventResponse |
doNameWatchUpdate(EPPEvent aEvent,
java.lang.Object aData)
Invoked when a NameWatch Update command is received.
|
protected void |
postHandleEvent(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 void |
preHandleEvent(EPPEvent aEvent,
java.lang.Object aData)
Handles any common behavior that all NameWatch commands need to execute
before they execute their command specific behavior.
|
getNamespace, handleEvent
public NameWatchHandler()
protected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
preHandleEvent
in class EPPNameWatchHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPNameWatchHandler
This is assumed to be an
instance of SessionData here.EPPHandleEventException
- Thrown if an error condition occurs.
It must contain an EPPEventResponse
protected void postHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
postHandleEvent
in class EPPNameWatchHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPNameWatchHandler
EPPHandleEventException
- Thrown if an error condition occurs.
It must contain an EPPEventResponse
protected EPPEventResponse doNameWatchRenew(EPPEvent aEvent, java.lang.Object aData)
doNameWatchRenew
in class EPPNameWatchHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPNameWatchdHandler
protected EPPEventResponse doNameWatchDelete(EPPEvent aEvent, java.lang.Object aData)
doNameWatchDelete
in class EPPNameWatchHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPNameWatchdHandler
protected EPPEventResponse doNameWatchCreate(EPPEvent aEvent, java.lang.Object aData)
doNameWatchCreate
in class EPPNameWatchHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPNameWatchdHandler
protected EPPEventResponse doNameWatchTransfer(EPPEvent aEvent, java.lang.Object aData)
doNameWatchTransfer
in class EPPNameWatchHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPNameWatchdHandler
protected EPPEventResponse doNameWatchUpdate(EPPEvent aEvent, java.lang.Object aData)
doNameWatchUpdate
in class EPPNameWatchHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPNameWatchdHandler
protected EPPEventResponse doNameWatchInfo(EPPEvent aEvent, java.lang.Object aData)
doNameWatchInfo
in class EPPNameWatchHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPNameWatchdHandler
Copyright © VeriSign Inc. All Rights Reserved.