Class RestoreVideoRegion
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.UnitOutputRequest
de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.RestoreVideoRegion
- All Implemented Interfaces:
Runnable
Output request executor for RemoteOrderDisplay method RestoreVideoRegion.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
JposOutputRequest.JposRequestThread
-
Field Summary
Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
Abort, AdditionalData, Device, EndSync, Exception, Finished, OutputID, Props, Waiting
-
Constructor Summary
ConstructorsConstructorDescriptionRestoreVideoRegion(RemoteOrderDisplayProperties data, int units, int targetRow, int targetColumn, int bufferId)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves parameter bufferId of method RestoreVideoRegion.int
Retrieves parameter targetColumn of method RestoreVideoRegion.int
Retrieves parameter targetRow of method RestoreVideoRegion.void
invoke()
Invokes the command.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.UnitOutputRequest
checkUnitsOnline, clearOutput, createErrorEvent, getUnits
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
abortCommand, abortCommand, catchedInvocation, clearAll, clearInput, countCommands, createIdleEvent, createOutputEvent, dequeue, enqueue, enqueueSynchronous, finishAsyncProcessing, finished, reactivate, reactivate, reset, run
-
Constructor Details
-
RestoreVideoRegion
public RestoreVideoRegion(RemoteOrderDisplayProperties data, int units, int targetRow, int targetColumn, int bufferId)Constructor. Stores given parameters for later use.- Parameters:
data
- Property set of device service.units
- Bitwise mask indicating which video unit(s) to operate on.targetRow
- Upper row of target location.targetColumn
- Left column of target location.bufferId
- Number identifying the source video buffer to use.
-
-
Method Details
-
getTargetRow
public int getTargetRow()Retrieves parameter targetRow of method RestoreVideoRegion. See UPOS specification for further information.- Returns:
- Value of method parameter targetRow.
-
getTargetColumn
public int getTargetColumn()Retrieves parameter targetColumn of method RestoreVideoRegion. See UPOS specification for further information.- Returns:
- Value of method parameter targetColumn.
-
getBufferId
public int getBufferId()Retrieves parameter bufferId of method RestoreVideoRegion. See UPOS specification for further information.- Returns:
- Value of method parameter bufferId.
-
invoke
public void invoke() throws jpos.JposExceptionDescription copied from class:JposOutputRequest
Invokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.- Overrides:
invoke
in classJposOutputRequest
- Throws:
jpos.JposException
- JposException thrown by the command to be executed.
-