Class ClearVideo
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.UnitOutputRequest
de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.ClearVideo
- All Implemented Interfaces:
Runnable
Output request executor for RemoteOrderDisplay method ClearVideo and base for method ClearVideoRegion.
-
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
ConstructorsConstructorDescriptionClearVideo(JposCommonProperties props, int units, int attributes)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionintRetrieves parameter attribute of method ClearVideo or ClearVideoRegion.voidinvoke()Invokes the command.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.UnitOutputRequest
checkUnitsOnline, clearOutput, createErrorEvent, getUnitsMethods 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
-
ClearVideo
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.JposExceptionDescription copied from class:JposOutputRequestInvokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.- Overrides:
invokein classJposOutputRequest- Throws:
jpos.JposException- JposException thrown by the command to be executed.
-