|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataFormat
This is an interface to a Data-Format class, all Data-Format classes must use this interface.
| Method Summary | |
|---|---|
Object |
buildRequestTxn(DataPacket txnDataPacket,
String txnCode,
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(Object txnData,
Map responseEntitiesMap,
DataPacket txnDataPacket,
String txnCode,
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(Object txnData,
Vector responseEntitiesVector,
DataPacket txnDataPacket,
String txnCode,
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 |
|---|
Object buildRequestTxn(DataPacket txnDataPacket,
String txnCode,
String txnType)
throws ProcessingErrorException
txnDataPacket - is DataPacket of transaction settingstxnCode - is the transaction codetxnType - is the transaction type
ProcessingErrorExceptionboolean moreToRequest()
void notifyProcessingFinished()
void toDataPacketsMap(Object txnData,
Map responseEntitiesMap,
DataPacket txnDataPacket,
String txnCode,
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
void toDataPacketsVector(Object txnData,
Vector responseEntitiesVector,
DataPacket txnDataPacket,
String txnCode,
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 | |||||||||