All Implemented Interfaces:
Runnable

public class SetAll extends ChangeRequest
Output request executor for HardTotals method SetAll.
  • Constructor Details

    • SetAll

      public SetAll(HardTotalsProperties props, int hTotalsFile, byte value)
      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.JposException
      Description copied from class: JposOutputRequest
      Invokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.
      Overrides:
      invoke in class JposOutputRequest
      Throws:
      jpos.JposException - JposException thrown by the command to be executed.