Class TransactionAccess
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.OutputRequest
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.TransactionAccess
- All Implemented Interfaces:
Runnable
Output request executor for ElectronicValueRW method TransactionAccess.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
JposOutputRequest.JposRequestThread
-
Field Summary
Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
Abort, AdditionalData, Device, EndSync, Exception, Finished, OutputID, Props, Waiting
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionAccess(ElectronicValueRWProperties props, int control)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns copy of control parameter (The transaction control)void
invoke()
Invokes the command.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.OutputRequest
getAdditionalSecurityInformation, getApprovalCode, getCurrentService, getParameter, getParameterObject, getPaymentMedia, getPINEntry, getServiceType, getTrainingMode
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
abortCommand, abortCommand, catchedInvocation, clearAll, clearInput, clearOutput, countCommands, createErrorEvent, createIdleEvent, createOutputEvent, dequeue, enqueue, enqueueSynchronous, finishAsyncProcessing, finished, reactivate, reactivate, reset, run
-
Constructor Details
-
TransactionAccess
Constructor. Stores given parameters for later use.- Parameters:
props
- Property set of device service.control
- The transaction control.
-
-
Method Details
-
getControl
public int getControl()Returns copy of control parameter (The transaction control)- Returns:
- The transaction control value.
-
invoke
public void invoke() throws jpos.JposExceptionDescription copied from class:JposOutputRequest
Invokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.- Overrides:
invoke
in classJposOutputRequest
- Throws:
jpos.JposException
- JposException thrown by the command to be executed.
-