|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ei.txnhandler.connector.offline.OffLineConnection
This class represents an application-level handle to the OffLine Database that is used by a client to access the underlying physical connection. BankFrame Host Connectors will call the post() method of this connection to either fetch requests from the offline database when they do not want to run against the live host system, or to store requests and responses in the offline database for later offline transactions. All objects sent through the post method must be serializable, so that they can be stored offline. If they are not serializable then the post method will return null, and requests will not be stored or fetched from the OffLine database.
Constructor Summary | |
OffLineConnection()
OffLineConnection constructor. |
|
OffLineConnection(OffLineManagedConnection mc)
OffLineConnection constructor. |
Method Summary | |
void |
close()
This method initiates close of the offline connection handle at the application level. |
java.lang.Object |
post(java.lang.Object txns)
This method is used to emulate a real host connector's post method. |
java.lang.Object |
post(java.lang.Object reqTxn,
java.lang.Object resTxn)
This method is used to emulate a real host connector's post method. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OffLineConnection()
public OffLineConnection(OffLineManagedConnection mc)
mc
- The OffLineManagedConnection (physical connection) to be associated with
application handle.Method Detail |
public void close()
close
in interface EConnection
public java.lang.Object post(java.lang.Object txns) throws ProcessingErrorException
post
in interface EConnection
txns
- An object that represents a transaction request to a host system.
ProcessingErrorException
- if an error occurspublic java.lang.Object post(java.lang.Object reqTxn, java.lang.Object resTxn) throws ProcessingErrorException
ProcessingErrorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |