All Implemented Interfaces:
Runnable

public class SubtractValue extends NumberTimeoutRequest
Output request executor for ElectronicValueRW method SubtractValue.
  • Constructor Details

    • SubtractValue

      public SubtractValue(ElectronicValueRWProperties props, int sequenceNumber, int timeout)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      sequenceNumber - Sequence number, any value.
      timeout - operation timeout.
  • Method Details

    • 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.