Class CheckCard
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.cat.OutputRequest
de.gmxhome.conrad.jpos.jpos_base.cat.CheckCard
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
AccessDailyLog
,CashDeposit
Output request executor for CAT method CheckCard.
-
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
ConstructorsConstructorDescriptionCheckCard(CATProperties data, int sequenceNumber, int timeout)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
Get sequence number.int
Get the maximum waiting time (in milliseconds) until the response is received from the CAT device.void
invoke()
Invokes the command.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.cat.OutputRequest
getAdditionalSecurityInformation, getPaymentMedia, 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
-
CheckCard
Constructor. Stores given parameters for later use.- Parameters:
data
- Property set of device service.sequenceNumber
- Sequence number for approval.timeout
- The maximum waiting time (in milliseconds) until the response is received from the CAT device.
-
-
Method Details
-
getSequenceNumber
public int getSequenceNumber()Get sequence number.- Returns:
- Sequence number.
-
getTimeout
public int getTimeout()Get the maximum waiting time (in milliseconds) until the response is received from the CAT device.- Returns:
- The maximum waiting time (in milliseconds) until the response is received from the CAT device.
-
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.
-