|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.siebel.rf.offline.branch.server.Handler
The Handler class
Constructor Summary | |
Handler()
The default constructor |
|
Handler(OfflineListener listener)
Constructor that sets the listener value |
Method Summary | |
void |
fireOfflineEvent(OfflineEvent offlineEvent)
Fires offlienEvent |
java.util.Vector |
getOriginalRequest()
Returns originalRequest |
java.util.Vector |
getRequest()
Returns request |
java.util.Vector |
getResponse()
Returns response |
abstract java.util.Vector |
handleRequest()
Returns handleRequest |
java.util.Vector |
handleRequest(java.util.Vector request,
java.util.Vector response,
boolean branchOnline)
Sets the request, response, branchOnline with the given parameter values then returns the Vector of handleRequest |
boolean |
isAValidResponse(java.util.Vector response)
Gets the datapacket name after converting given Vector response into datapacket , if the name contains EXCEPTION then returns false otherwise returns ture |
boolean |
isBranchOnline()
Returns branchOnline |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Handler()
public Handler(OfflineListener listener)
listener
- OfflineListenerMethod Detail |
public java.util.Vector handleRequest(java.util.Vector request, java.util.Vector response, boolean branchOnline) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
handleRequest
in interface RequestHandler
request
- Vectorresponse
- VectorbranchOnline
- booleancom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic abstract java.util.Vector handleRequest() throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic java.util.Vector getRequest()
public java.util.Vector getOriginalRequest()
public java.util.Vector getResponse()
public boolean isBranchOnline()
public boolean isAValidResponse(java.util.Vector response)
isAValidResponse
in interface RequestHandler
response
- Vectorpublic void fireOfflineEvent(OfflineEvent offlineEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |