public class BalanceHandler extends EPPBalanceHandler
BalanceHandler
class is a concrete implementation of the
abstract com.verisign.epp.framework.EPPBalanceHandler
class. It
defines the Server's response to all received EPP Balance Commands.EPPEvent
,
EPPEventResponse
Constructor and Description |
---|
BalanceHandler()
Constructs an instance of BalanceHandler
|
Modifier and Type | Method and Description |
---|---|
protected EPPEventResponse |
doBalanceInfo(EPPEvent aEvent,
java.lang.Object aData)
Invoked when a Balance Info command is received.
|
protected void |
postHandleEvent(EPPEvent aEvent,
java.lang.Object aData)
Handles any common behavior that all Balance 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 Balance commands need to execute
before they execute their command specific behavior.
|
getNamespace, handleEvent
protected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
preHandleEvent
in class EPPBalanceHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPBalanceHandler
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 EPPBalanceHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPBalanceHandler
EPPHandleEventException
- Thrown if an error condition occurs.
It must contain an EPPEventResponse
protected EPPEventResponse doBalanceInfo(EPPEvent aEvent, java.lang.Object aData)
doBalanceInfo
in class EPPBalanceHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPDomaindHandler