All Implemented Interfaces:
Runnable

public class SaveVideoRegion extends AreaBase
Output request executor for RemoteOrderDisplay method SaveVideoRegion.
  • Constructor Details

    • SaveVideoRegion

      public SaveVideoRegion(JposCommonProperties props, int units, int row, int column, int height, int width, int bufferId)
      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.
      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.
      bufferId - Number identifying the video buffer to use.
  • Method Details

    • getBufferId

      public int getBufferId()
      Retrieves parameter bufferId of method ClearVideoRegion. See UPOS specification for further information.
      Returns:
      Value of method parameter bufferId.
    • 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.