Package com.verisign.epp.serverstub
Class GenHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPGenHandler
-
- com.verisign.epp.serverstub.GenHandler
-
- All Implemented Interfaces:
EPPEventHandler
- Direct Known Subclasses:
LoginSecGenHandler
public class GenHandler extends EPPGenHandler
TheGenHandlerclass is a concrete implementation of the abstractcom.verisign.epp.framework.EPPGenHandlerclass. It defines the Server's response to general EPP Commands.
- See Also:
EPPEvent,EPPEventResponse
-
-
Constructor Summary
Constructors Constructor Description GenHandler()Construct an instance of GenHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPPEventResponsedoHello(EPPEvent aEvent, java.lang.Object aData)Invoked when an EPP Hello command is received.protected EPPEventResponsedoLogin(EPPEvent aEvent, java.lang.Object aData)Handle a login command.protected EPPEventResponsedoLogout(EPPEvent aEvent, java.lang.Object aData)Invoked when a Logout command is received.protected EPPEventResponsedoPoll(EPPEvent aEvent, java.lang.Object aData)Invoked when an EPP Poll command is received.-
Methods inherited from class com.verisign.epp.framework.EPPGenHandler
getNamespace, handleEvent, postHandleEvent, preHandleEvent
-
-
-
-
Method Detail
-
doLogin
protected EPPEventResponse doLogin(EPPEvent aEvent, java.lang.Object aData)
Handle a login command.- Specified by:
doLoginin classEPPGenHandler- Parameters:
aEvent- Event must contain an EPPLoginCmd for handlingaData- Extra server data, which isSessionDatafor the Stub Server.- Returns:
- Response to handling the login command
-
doLogout
protected EPPEventResponse doLogout(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Logout command is received. A successful logout command ends the session- Specified by:
doLogoutin classEPPGenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPGenHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doPoll
protected EPPEventResponse doPoll(EPPEvent aEvent, java.lang.Object aData)
Invoked when an EPP Poll command is received. Subclasses should define the behavior when a Poll command is received.- Specified by:
doPollin classEPPGenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPGenHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doHello
protected EPPEventResponse doHello(EPPEvent aEvent, java.lang.Object aData)
Invoked when an EPP Hello command is received. Subclasses should define the behavior when a Hello command is received.- Specified by:
doHelloin classEPPGenHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPGenHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
-