Package com.verisign.epp.serverstub
Class NSHostHandler
java.lang.Object
com.verisign.epp.framework.EPPHostHandler
com.verisign.epp.serverstub.NSHostHandler
- All Implemented Interfaces:
EPPEventHandler
The
NSHostHandler class is a concrete implementation of the abstract
EPPHostHandler class. It defines the
Server's response to all received EPP host Commands.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoHostCheck(EPPEvent aEvent, Object aData) Invoked when a Host Check Command is received.protected EPPEventResponsedoHostCreate(EPPEvent aEvent, Object aData) Invoked when a Host Create Command is received.protected EPPEventResponsedoHostDelete(EPPEvent aEvent, Object aData) Invoked when a Host Delete Command is received.protected EPPEventResponsedoHostInfo(EPPEvent aEvent, Object aData) Invoked when a Host Info Command is received.protected EPPEventResponsedoHostUpdate(EPPEvent aEvent, Object aData) Invoked when a Host Update Command is received.Methods inherited from class com.verisign.epp.framework.EPPHostHandler
getNamespace, handleEvent, postHandleEvent, preHandleEvent
-
Constructor Details
-
NSHostHandler
public NSHostHandler()
-
-
Method Details
-
doHostCreate
Invoked when a Host Create Command is received. The handler routes the command to the appropriate handler based on the extensions and data included in the command.- Specified by:
doHostCreatein classEPPHostHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPHostHandler- Returns:
- The response that should be sent back to the client.
- See Also:
-
doHostDelete
Invoked when a Host Delete Command is received. The handler routes the command to the appropriate handler based on the extensions and data included in the command.- Specified by:
doHostDeletein classEPPHostHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPHostHandler- Returns:
- The response that should be sent back to the client.
- See Also:
-
doHostInfo
Invoked when a Host Info Command is received. The handler routes the command to the appropriate handler based on the extensions and data included in the command.- Specified by:
doHostInfoin classEPPHostHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPHostHandler- Returns:
- The response that should be sent back to the client.
- See Also:
-
doHostCheck
Invoked when a Host Check Command is received. The handler routes the command to the appropriate handler based on the extensions and data included in the command.- Specified by:
doHostCheckin classEPPHostHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPHostHandler- Returns:
- The response that should be sent back to the client.
- See Also:
-
doHostUpdate
Invoked when a Host Update Command is received. The handler routes the command to the appropriate handler based on the extensions and data included in the command.- Specified by:
doHostUpdatein classEPPHostHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPHostHandler- Returns:
- The response that should be sent back to the client.
- See Also:
-