All Implemented Interfaces:
Runnable

public class DisplayData extends PositionBase
Output request executor for RemoteOrderDisplay method DisplayData.
  • Constructor Details

    • DisplayData

      public DisplayData(RemoteOrderDisplayProperties props, int units, int row, int column, int attribute, String data)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      units - Units where status has been changed.
      row - (Upper) Row where operation shall start.
      column - (Left) Column where operation shall start.
      attribute - VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.
      data - Text to be displayed.
  • Method Details

    • getAttributes

      public int getAttributes()
      Retrieves parameter attribute of method DisplayData. See UPOS specification for further information.
      Returns:
      Value of method parameter attribute.
    • getData

      public String getData()
      Retrieves parameter data of method DisplayData. See UPOS specification for further information.
      Returns:
      Value of method parameter data.
    • 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.