public interface ITransactionHandler
| Modifier and Type | Method and Description |
|---|---|
void |
processBatchTransaction(IHL7BatchFile objHL7BatchFile)
Processes the batch or batch file and verified each batch inside it.
|
void |
processMessageTransaction(Message objMessage)
Initiates one operation.
|
void |
processOnExceptionTransaction(java.lang.Exception ex,
byte[] buffer)
Retrieves the controlId for Batch or Message and removes the data
for The data for which exception is fetched.
|
void |
setBatchAgent(IBatchProcessor objBatchProcessor)
Sets the batch agent on ITransactionhandler for
the processing of batch and batch-file.
|
void processMessageTransaction(Message objMessage)
objMessage - Message for which verification to be done.InvalidTransactionException - Thrown when performs invalid transaction.void processBatchTransaction(IHL7BatchFile objHL7BatchFile)
objHL7BatchFile - - Batch for which to initiate Operation.InvalidTransactionException - Thrown when performs invalid transaction.void processOnExceptionTransaction(java.lang.Exception ex,
byte[] buffer)
ex - Exception raisedbuffer - data containing errorvoid setBatchAgent(IBatchProcessor objBatchProcessor)
objHL7Batch - Object of received batch.