All Implemented Interfaces:
Runnable
Direct Known Subclasses:
AccessDailyLog, CashDeposit

public class CheckCard extends OutputRequest
Output request executor for ElectronicValueRW method CheckCard.
  • Constructor Details

    • CheckCard

      public CheckCard(ElectronicValueRWProperties data, int sequenceNumber, int timeout)
      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 ElectronicValueRW 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 ElectronicValueRW device.
      Returns:
      The maximum waiting time (in milliseconds) until the response is received from the ElectronicValueRW device.
    • 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.