|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an interface to a Data-Format class, all Data-Format classes must use this interface.
Method Summary | |
java.lang.Object |
buildRequestTxn(DataPacket txnDataPacket,
java.lang.String txnCode,
java.lang.String txnType)
This method converts a Data Packet request to a Host System format using a List of Transaction Fields. |
boolean |
moreToRequest()
More Packets to process from host system, the method toDataPackets() sets this flag if it determines that there is more data to be requested from the host system. |
void |
notifyProcessingFinished()
This method is called by the Transaction Handler bean when all processing for a transaction is complete. |
void |
toDataPacketsMap(java.lang.Object txnData,
java.util.Map responseEntitiesMap,
DataPacket txnDataPacket,
java.lang.String txnCode,
java.lang.String txnType)
This method converts the Vector of Host System Txn Fields byte-array elements into a Map of Data Packets, this method is called by the txn handler method processFindRequest( ) |
void |
toDataPacketsVector(java.lang.Object txnData,
java.util.Vector responseEntitiesVector,
DataPacket txnDataPacket,
java.lang.String txnCode,
java.lang.String txnType)
This method converts the Vector of Host System Txn Fields byte-array elements into a Vector of result Data Packets, this method is called by the txn handler method processRequest( ) |
Method Detail |
public java.lang.Object buildRequestTxn(DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType) throws ProcessingErrorException
txnDataPacket
- is DataPacket of transaction settingstxnCode
- is the transaction codetxnType
- is the transaction type
ProcessingErrorException
public boolean moreToRequest()
public void notifyProcessingFinished()
public void toDataPacketsMap(java.lang.Object txnData, java.util.Map responseEntitiesMap, DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType) throws ProcessingErrorException, HostProcessingErrorException
txnData
- data from host system.responseEntitiesMap
- is Map of Data Packet entities created.txnDataPacket
- DataPacket of request settings.txnCode
- is transaction codetxnType
- is transaction type
ProcessingErrorException
HostProcessingErrorException
public void toDataPacketsVector(java.lang.Object txnData, java.util.Vector responseEntitiesVector, DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType) throws ProcessingErrorException, HostProcessingErrorException
txnData
- data from host system.responseEntitiesVector
- is Vector of Data Packet entities updated/created
from host system data.txnDataPacket
- DataPacket of request settings.txnCode
- is transaction codetxnType
- is transaction type
ProcessingErrorException
HostProcessingErrorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |