All Implemented Interfaces:
Runnable

public class ClearVideo extends UnitOutputRequest
Output request executor for RemoteOrderDisplay method ClearVideo and base for method ClearVideoRegion.
  • Constructor Details

    • ClearVideo

      public ClearVideo(JposCommonProperties props, int units, int attributes)
      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.
      attributes - VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.
  • Method Details

    • getAttributes

      public int getAttributes()
      Retrieves parameter attribute of method ClearVideo or ClearVideoRegion. see UPOS specification, chapter Remote Order Display - General Information - Model: Blinking flag, intensity flag, background and foreground color flags.
      Returns:
      Value of method parameter attribute.
    • 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.