All Implemented Interfaces:
Runnable

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

    • AccessDailyLog

      public AccessDailyLog(ElectronicValueRWProperties data, int sequenceNumber, int type, int timeout)
      Constructor. Stores given parameters for later use.
      Parameters:
      data - Property set of device service.
      sequenceNumber - Sequence number to get daily log.
      type - Specify whether the daily log is intermediate total or final total and erase.
      timeout - The maximum waiting time (in milliseconds) until the response is received from the ElectronicValueRW device.
  • Method Details

    • getType

      public int getType()
      Get type of daily log.
      Returns:
      Type of daily log.
    • 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 CheckCard
      Throws:
      jpos.JposException - JposException thrown by the command to be executed.