Class UpdateVideoRegionAttribute

All Implemented Interfaces:
Runnable

public class UpdateVideoRegionAttribute extends ClearVideoRegion
Output request executor for RemoteOrderDisplay method UpdateVideoRegionAttribute.
  • Constructor Details

    • UpdateVideoRegionAttribute

      public UpdateVideoRegionAttribute(JposCommonProperties props, int units, int function, int row, int column, int height, int width, int attribute)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      units - Bitwise mask indicating which video unit(s) to operate on.
      function - The attribute command.
      row - Upper row of the specified region.
      column - Left column of the specified region.
      height - Height of the specified region.
      width - Width of the specified region.
      attribute - VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.
  • Method Details

    • getFunction

      public int getFunction()
      Retrieves parameter function of method UpdateVideoRegionAttribute. See UPOS specification for further information.
      Returns:
      Value of method parameter function.
    • 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 ClearVideoRegion
      Throws:
      jpos.JposException - JposException thrown by the command to be executed.