All Implemented Interfaces:
Runnable

public class QueryContent extends JposInputRequest
Input request executor for ElectronicJournal method QueryContent.
  • Constructor Details

    • QueryContent

      public QueryContent(JposCommonProperties props, String fileName, String fromMarker, String toMarker)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      fileName - Filename to be used to store queried contents.
      fromMarker - Name of lower bound marker.
      toMarker - Name of upper bound marker.
  • Method Details

    • getFileName

      public String getFileName()
      ElectronicJournal method QueryContent parameter fileName, see UPOS specification.
      Returns:
      Filename to be used to store queried contents.
    • getFromMarker

      public String getFromMarker()
      ElectronicJournal method QueryContent parameter fromMarker, see UPOS specification.
      Returns:
      Name of lower bound marker.
    • getToMarker

      public String getToMarker()
      ElectronicJournal method QueryContent parameter toMarker, see UPOS specification.
      Returns:
      Name of upper bound marker.
    • 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.