Class SetAll
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.hardtotals.ChangeRequest
de.gmxhome.conrad.jpos.jpos_base.hardtotals.SetAll
- All Implemented Interfaces:
Runnable
Output request executor for HardTotals method SetAll.
-
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
ConstructorsConstructorDescriptionSetAll(HardTotalsProperties props, int hTotalsFile, byte value)Constructor, stores given parameters for later use of SetAll operation. -
Method Summary
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.hardtotals.ChangeRequest
getHTotalsFileMethods 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
-
SetAll
Constructor, stores given parameters for later use of SetAll operation.- Parameters:
props- Property set of device service.hTotalsFile- Handle of a totals file.value- Value to set all locations to in totals file.
-
-
Method Details
-
getValue
public byte getValue()HardTotals method SetAll parameter value, see UPOS specification.- Returns:
- SetAll parameter value.
-
invoke
public void invoke() throws jpos.JposExceptionDescription copied from class:JposOutputRequestInvokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.- Overrides:
invokein classJposOutputRequest- Throws:
jpos.JposException- JposException thrown by the command to be executed.
-