java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.electronicjournal.PrintContent
All Implemented Interfaces:
Runnable

public class PrintContent extends JposOutputRequest
Output request executor for ElectronicJournal method PrintContent.
  • Constructor Details

    • PrintContent

      public PrintContent(JposCommonProperties props, String fromMarker, String toMarker)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      fromMarker - Marker that marks start position of data to be printed.
      toMarker - Marker that marks end position of data to be printed.
  • Method Details

    • getFromMarker

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

      public String getToMarker()
      ElectronicJournal method PrintContent 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.