Class RemoteOrderDisplayProperties
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposCommonProperties
de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.RemoteOrderDisplayProperties
- All Implemented Interfaces:
JposBaseInterface,RemoteOrderDisplayInterface
public class RemoteOrderDisplayProperties
extends JposCommonProperties
implements RemoteOrderDisplayInterface
Class containing the remote order display specific properties, their default values and default implementations of
RemoteOrderDisplayInterface.
For details about properties, methods and method parameters, see UPOS specification, chapter Remote Order Display.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclasshelper class, contains property values per display unit. -
Field Summary
FieldsModifier and TypeFieldDescriptionintUPOS property AutoToneDuration.intUPOS property AutoToneFrequency.booleanUPOS property CapMapCharacterSet.booleanDefault value of CapMapCharacterSet property.booleanUPOS property CapSelectCharacterSet.booleanUPOS property CapTone.booleanUPOS property CapTouch.booleanUPOS property CapTransaction.booleanDefault value of CapTransaction property.intUPOS property CharacterSet.intDefault value of CharacterSet property for offline units.UPOS property CharacterSetList.intUPOS property Clocks.intUPOS property EventType.intDefault value of EventType property.booleanUPOS property MapCharacterSet.booleanDefault value of CapMapCharacterSet property.intUPOS property SystemClocks.intDefault value of SystemClocks property.intUPOS property SystemVideoSaveBuffers.intDefault value of SystemVideoSaveBuffers property.intUPOS property Timeout.intDefault value of Timeout property.Unit specific properties, one per possible unit.intUPOS property UnitsOnline.intUPOS property VideoMode.intDefault value of VideoMode property for offline units.UPOS property VideoModesList.Default value of VideoModesList property for offline units.intUPOS property VideoSaveBuffers.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposCommonProperties
AllowAlwaysSetProperties, AllowDeprecatedMethods, AsyncInputActive, AsyncMode, AutoDisable, CapStatisticsReporting, CapUpdateStatistics, CheckHealthText, Claimed, Claiming, ClaimWaiters, CurrentCommands, CurrentUnitID, DataCount, DataEventEnabled, DataEventList, Device, DeviceEnabled, DeviceServiceDescription, DeviceServiceVersion, DevProps, ErrorString, ErrorUnits, EventCB, EventList, EventSource, EventString, EventUnitID, EventUnits, ExclusiveAllowed, ExclusiveNo, ExclusiveUse, ExclusiveYes, FirstEnableHappened, FlagWhenIdle, FlagWhenIdleStatusValue, FreezeEvents, Index, LogicalName, MaximumConfirmationEventWaitingTime, OutputID, PowerNotify, PowerState, SerializedRequestRunner, SerializedRequests, State, StrictFIFOEventHandling, SuspendedCommands, SuspendedConcurrentCommands, UsesSubsystemUnits -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidautoToneDuration(int duration)Final part of setting AutoToneDuration.voidautoToneFrequency(int frequency)Final part of setting AutoToneFrequency.clearVideo(int units, int attribute)Validation part of ClearVideo method.voidclearVideo(ClearVideo request)Final part of ClearVideo method.clearVideoRegion(int units, int row, int column, int height, int width, int attribute)Validation part of ClearVideoRegion method.voidclearVideoRegion(ClearVideoRegion request)Final part of ClearVideoRegion method.voidcontrolClock(int units, int function, int clockid, int hour, int minute, int second, int row, int column, int attribute, int mode)Final part of ControlClock method.voidcontrolCursor(int units, int function)Final part of ControlCursor method.voidcopyIn()Retrieves all properties from the property set this object belongs to.voidcopyOut()Copies all properties to the property set belonging to this object.copyVideoRegion(int units, int row, int column, int height, int width, int targetRow, int targetColumn)Validation part of CopyVideoRegion method.voidcopyVideoRegion(CopyVideoRegion request)Final part of CopyVideoRegion method.voidcurrentUnitID(int unit)Final part of setting CurrentUnitID.displayData(int units, int row, int column, int attribute, String data)Validation part of DisplayData method.voiddisplayData(DisplayData request)Final part of DisplayData method.drawBox(int units, int row, int column, int height, int width, int attribute, int bordertype)Validation part of DrawBox method.voidFinal part of DrawBox method.voideventType(int type)Final part of setting EventType.voidfreeVideoRegion(int units, int bufferId)Final part of FreeVideoRegion method.booleanInitialize properties that must be initialized whenever the device will be enabled the first time-voidInitialization of properties that must be initialized during open.voidmapCharacterSet(boolean map)Final part of setting MapCharacterSet.Class factory for JposOutputRequests.voidresetVideo(int units)Final part of ResetVideo method.restoreVideoRegion(int units, int targetRow, int targetColumn, int bufferId)Validation part of RestoreVideoRegion method.voidrestoreVideoRegion(RestoreVideoRegion request)Final part of RestoreVideoRegion method.saveVideoRegion(int units, int row, int column, int height, int width, int bufferId)Validation part of SaveVideoRegion method.voidsaveVideoRegion(SaveVideoRegion request)Final part of SaveVideoRegion method.voidselectChararacterSet(int units, int characterSet)Final part of SelectChararacterSet method.voidsetCursor(int units, int row, int column)Final part of SetCursor method.voidtimeout(int milliseconds)Final part of setting Timeout.transactionDisplay(int units, int function)Validation part of TransactionDisplay method.voidtransactionDisplay(TransactionDisplay request)Final part of TransactionDisplay method.intunitsToFirstIndex(int units)Returns the lowest index of a unit specified by the given bitmask.updateVideoRegionAttribute(int units, int function, int row, int column, int height, int width, int attribute)Validation part of UpdateVideoRegionAttribute method.voidFinal part of UpdateVideoRegionAttribute method.voidvideoMode(int mode)Final part of setting video mode.videoSound(int units, int frequency, int duration, int numberOfCycles, int interSoundWait)Validation part of VideoSound method.voidvideoSound(VideoSound request)Final part of VideoSound method.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposCommonProperties
addProperties, asyncMode, attachWaiter, autoDisable, checkForDeprecation, checkHealth, checkProperties, claim, clearDataProperties, clearErrorProperties, clearInput, clearOutput, clearOutputErrorProperties, close, compareFirmwareVersion, dataEventEnabled, deviceEnabled, directIO, directIO, flagWhenIdle, freezeEvents, getClaimingInstance, handlePowerStateOnEnable, initOnClaim, initOnEnable, open, powerNotify, release, releaseWaiter, removeFromPropertySetList, resetStatistics, retrieveStatistics, retryInput, retryOutput, signalWaiter, unitDataCount, updateFirmware, updateFirmware, updateStatistics, waitWaiterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.gmxhome.conrad.jpos.jpos_base.JposBaseInterface
asyncMode, autoDisable, checkHealth, claim, clearInput, clearOutput, close, compareFirmwareVersion, dataEventEnabled, deviceEnabled, directIO, directIO, flagWhenIdle, freezeEvents, handlePowerStateOnEnable, open, powerNotify, release, removeFromPropertySetList, resetStatistics, retrieveStatistics, retryInput, retryOutput, unitDataCount, updateFirmware, updateFirmware, updateStatistics
-
Field Details
-
AutoToneDuration
public int AutoToneDurationUPOS property AutoToneDuration. -
AutoToneFrequency
public int AutoToneFrequencyUPOS property AutoToneFrequency. -
CapSelectCharacterSet
public boolean CapSelectCharacterSetUPOS property CapSelectCharacterSet. -
CapTone
public boolean CapToneUPOS property CapTone. -
CapTouch
public boolean CapTouchUPOS property CapTouch. -
CharacterSet
public int CharacterSetUPOS property CharacterSet. -
CharacterSetList
UPOS property CharacterSetList. -
Clocks
public int ClocksUPOS property Clocks. -
VideoMode
public int VideoModeUPOS property VideoMode. -
VideoModesList
UPOS property VideoModesList. -
VideoSaveBuffers
public int VideoSaveBuffersUPOS property VideoSaveBuffers. -
Unit
Unit specific properties, one per possible unit. -
CharacterSetDef
public int CharacterSetDefDefault value of CharacterSet property for offline units. Default: ROD_CS_ASCII. Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
VideoModeDef
public int VideoModeDefDefault value of VideoMode property for offline units. Default: 0. Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
VideoModesListDef
Default value of VideoModesList property for offline units. Default: "0:0x0x0M". Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
CapMapCharacterSetDef
public boolean CapMapCharacterSetDefDefault value of CapMapCharacterSet property. Default: true. Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
EventTypeDef
public int EventTypeDefDefault value of EventType property. Default: 0 (no data events). Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
MapCharacterSetDef
public boolean MapCharacterSetDefDefault value of CapMapCharacterSet property. Default: true. Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
TimeoutDef
public int TimeoutDefDefault value of Timeout property. Default: 1000 (1 second). Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
SystemVideoSaveBuffersDef
public int SystemVideoSaveBuffersDefDefault value of SystemVideoSaveBuffers property. Default: 0. Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
SystemClocksDef
public int SystemClocksDefDefault value of SystemClocks property. Default: 0. Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
CapMapCharacterSet
public boolean CapMapCharacterSetUPOS property CapMapCharacterSet. -
CapTransactionDef
public boolean CapTransactionDefDefault value of CapTransaction property. Default: true. Can be overwritten by objects derived from JposDevice within the changeDefaults method. -
CapTransaction
public boolean CapTransactionUPOS property CapTransaction. -
EventType
public int EventTypeUPOS property EventType. -
MapCharacterSet
public boolean MapCharacterSetUPOS property MapCharacterSet. -
SystemClocks
public int SystemClocksUPOS property SystemClocks. -
SystemVideoSaveBuffers
public int SystemVideoSaveBuffersUPOS property SystemVideoSaveBuffers. -
Timeout
public int TimeoutUPOS property Timeout. -
UnitsOnline
public int UnitsOnlineUPOS property UnitsOnline.
-
-
Constructor Details
-
RemoteOrderDisplayProperties
public RemoteOrderDisplayProperties(int dev)Constructor.- Parameters:
dev- Device index
-
-
Method Details
-
copyOut
public void copyOut()Copies all properties to the property set belonging to this object. -
copyIn
public void copyIn()Retrieves all properties from the property set this object belongs to. -
unitsToFirstIndex
public int unitsToFirstIndex(int units)Returns the lowest index of a unit specified by the given bitmask.- Parameters:
units- A bitmask specifying one or more display units.- Returns:
- The lowest index where (units & (1 << index)) != 0.
-
initOnOpen
public void initOnOpen()Description copied from class:JposCommonPropertiesInitialization of properties that must be initialized during open.- Overrides:
initOnOpenin classJposCommonProperties
-
initOnFirstEnable
public boolean initOnFirstEnable()Description copied from class:JposCommonPropertiesInitialize properties that must be initialized whenever the device will be enabled the first time-- Overrides:
initOnFirstEnablein classJposCommonProperties- Returns:
- Returns true in case of first enable.
-
newJposOutputRequest
Description copied from interface:JposBaseInterfaceClass factory for JposOutputRequests.- Specified by:
newJposOutputRequestin interfaceJposBaseInterface- Overrides:
newJposOutputRequestin classJposCommonProperties- Returns:
- A new instance of JposOutputRequest or a derived class.
-
autoToneDuration
public void autoToneDuration(int duration) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of setting AutoToneDuration. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- The display specified by CurrentUnitID is online,
- The new property value is positive.
- Specified by:
autoToneDurationin interfaceRemoteOrderDisplayInterface- Parameters:
duration- New AutoToneDuration value- Throws:
jpos.JposException- If an error occurs
-
autoToneFrequency
public void autoToneFrequency(int frequency) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of setting AutoToneFrequency. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- The display specified by CurrentUnitID is online,
- The new property value is positive.
- Specified by:
autoToneFrequencyin interfaceRemoteOrderDisplayInterface- Parameters:
frequency- New AutoToneFrequency value- Throws:
jpos.JposException- If an error occurs
-
currentUnitID
public void currentUnitID(int unit) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of setting CurrentUnitID. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- The new property value is one of UID_x, where 1 ≤ x ≤ 32.
- Specified by:
currentUnitIDin interfaceRemoteOrderDisplayInterface- Parameters:
unit- New CurrentUnitID value- Throws:
jpos.JposException- If an error occurs
-
eventType
public void eventType(int type) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of setting EventType. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device has been opened,
- The new property value is a bitwise combination of DE_TOUCH_UP, DE_TOUCH_DOWN and DE_TOUCH_MOVE,
- internal property AllowAlwaysSetProperties is true or type equals the previous value of EventType.
-
-- Specified by:
eventTypein interfaceRemoteOrderDisplayInterface- Parameters:
type- New EventType value- Throws:
jpos.JposException- If an error occurs
-
mapCharacterSet
public void mapCharacterSet(boolean map) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of setting MapCharacterSet. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device has been opened,
- The new property value is false of CapMapCharacterSet is true.
- Specified by:
mapCharacterSetin interfaceRemoteOrderDisplayInterface- Parameters:
map- New MapCharacterSet value- Throws:
jpos.JposException- If an error occurs
-
timeout
public void timeout(int milliseconds) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of setting Timeout. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device has been opened,
- The new property value is positive,
- internal property AllowAlwaysSetProperties is true or milliseconds equals the previous value of Timeout.
- Specified by:
timeoutin interfaceRemoteOrderDisplayInterface- Parameters:
milliseconds- New Timeout value- Throws:
jpos.JposException- If an error occurs
-
videoMode
public void videoMode(int mode) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of setting video mode. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- The device unit specified by CurrentUnitID is online,
- The new property value one of the modes specified by VideoModesList.
- Specified by:
videoModein interfaceRemoteOrderDisplayInterface- Parameters:
mode- New video mode value- Throws:
jpos.JposException- If an error occurs
-
controlClock
public void controlClock(int units, int function, int clockid, int hour, int minute, int second, int row, int column, int attribute, int mode) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of ControlClock method. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- Device is idle
- All displays specified by units are online,
- function is CLK_PAUSE, CLK_START, CLK_RESUME, CLK_STOP or CLK_MOVE,
- clockid is > 0 and %le; the minimum Clocks value for all selected display units,
- if function = CLK_START, hour, minute and second are within the usual ranges (0-23, 0-59),
- if function = CLK_START, mode is one of CLK_SHORT, CLK_NORMAL, CLK_12_LONG or CLK_24_LONG,
- if function = CLK_START, attribute is between 0 and 255,
- if funktion is CLK_START or CLK_MOVE, row and column are valid start coordinates for all specified units.
- Specified by:
controlClockin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.function- The requested clock command.clockid- The requested clock command.hour- The initial hours for the clock display.minute- The initial minutes for the clock display.second- The initial seconds for the clock display.row- The clock's row.column- The clock's start column.attribute- VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.mode- The type of clock to display.- Throws:
jpos.JposException- For details, see UPOS method ControlClock.
-
controlCursor
public void controlCursor(int units, int function) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of ControlCursor method. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- Device is idle
- All displays specified by units are online,
- function is CRS_LINE, CRS_LINE_BLINK, RS_BLOCK, CRS_BLOCK_BLINK or CRS_OFF.
- Specified by:
controlCursorin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.function- The cursor command, indicating the type of cursor to display.- Throws:
jpos.JposException- For details, see UPOS method ControlCursor.
-
freeVideoRegion
public void freeVideoRegion(int units, int bufferId) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of FreeVideoRegion method. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- All displays specified by units are online,
- All displays specified by units fulfill the following condition: 1 ≤ bufferId ≤ VideoSaveBuffers.
- Specified by:
freeVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.bufferId- Number identifying the video buffer to free.- Throws:
jpos.JposException- For details, see UPOS method FreeVideoRegion.
-
resetVideo
public void resetVideo(int units) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of ResetVideo method. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- Device is idle
- All displays specified by units are online.
- Specified by:
resetVideoin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.- Throws:
jpos.JposException- For details, see UPOS method ResetVideo.
-
selectChararacterSet
public void selectChararacterSet(int units, int characterSet) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of SelectChararacterSet method. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- Device is idle
- All displays specified by units are online,
- For all displays specified by units property CapSelectCharacterSet is true,
- For all displays specified by units, property CharacterSetList contains characterSet .
- Specified by:
selectChararacterSetin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.characterSet- Contain the character set for displaying characters.- Throws:
jpos.JposException- For details, see UPOS method SelectChararacterSet.
-
setCursor
public void setCursor(int units, int row, int column) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of SetCursor method. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- Device is idle,
- All displays specified by units are online,
- For all displays specified by units, row and column are valid cursor coordinates.
- Specified by:
setCursorin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.row- Row to place the cursor on.column- Column to place the cursor on.- Throws:
jpos.JposException- For details, see UPOS method SetCursor.
-
clearVideo
Description copied from interface:RemoteOrderDisplayInterfaceValidation part of ClearVideo method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- 0 ≤ attribute ≤ 0xff,
- If AsyncMode is false: All display units specified by units are online.
- Specified by:
clearVideoin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.attribute- VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.- Returns:
- ClearVideo object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method ClearVideo.
-
clearVideo
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of ClearVideo method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a ClearVideo object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- Specified by:
clearVideoin interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by ClearVideo.- Throws:
jpos.JposException- For details, see UPOS method ClearVideo.
-
clearVideoRegion
public ClearVideoRegion clearVideoRegion(int units, int row, int column, int height, int width, int attribute) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceValidation part of ClearVideoRegion method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- row and column are positive values, height ≥ 1 and width ≥ 1.
- 0 ≤ attribute ≤ 0xff.
- All display units specified by units are online,
- row, column, height and width specify a valid region on all affected units.
- Specified by:
clearVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
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.attribute- VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.- Returns:
- ClearVideoRegion object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method ClearVideoRegion.
-
clearVideoRegion
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of ClearVideoRegion method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a ClearVideoRegion object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- request.getRow(), request.getColumn(), request.getHeight() and request.getWidth() specify a valid region on all affected units.
- Specified by:
clearVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by ClearVideoRegion.- Throws:
jpos.JposException- For details, see UPOS method ClearVideoRegion.
-
copyVideoRegion
public CopyVideoRegion copyVideoRegion(int units, int row, int column, int height, int width, int targetRow, int targetColumn) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceValidation part of CopyVideoRegion method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- row, column, targetRow and targetColumn are positive values, height ≥ 1 and width ≥ 1.
- All display units specified by units are online,
- row, column, height and width specify a valid region on all affected units,
- targetRow, targetColumn, height and width specify a valid region on all affected units.
- Specified by:
copyVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
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.targetRow- Upper row of target location.targetColumn- Left column of target location.- Returns:
- CopyVideoRegion object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method CopyVideoRegion.
-
copyVideoRegion
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of CopyVideoRegion method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a CopyVideoRegion object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- request.getRow(), request.getColumn(), request.getHeight() and request.getWidth() specify a valid region on all affected units.
- request.getTargetRow(), request.getTargetColumn(), request.getHeight() and request.getWidth() specify a valid region on all affected units.
- Specified by:
copyVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by CopyVideoRegion.- Throws:
jpos.JposException- For details, see UPOS method CopyVideoRegion.
-
displayData
public DisplayData displayData(int units, int row, int column, int attribute, String data) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceValidation part of DisplayData method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- row and column are positive values,
- 0 ≤ attribute ≤ 0xff.
- All display units specified by units are online,
- row and column specify a valid coordinate on all affected units.
- Specified by:
displayDatain interfaceRemoteOrderDisplayInterface- Parameters:
units- Units where status has been changed.row- (Upper) Row where operation shall start.column- (Left) Column where operation shall start.attribute- VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.data- Text to be displayed.- Returns:
- DisplayData object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method DisplayData.
-
displayData
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of DisplayData method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a DisplayData object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by units are online,
- request.getRow() and request.getColumn() specify a valid coordinate on all affected units.
- Specified by:
displayDatain interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by DisplayData.- Throws:
jpos.JposException- For details, see UPOS method DisplayData.
-
drawBox
public DrawBox drawBox(int units, int row, int column, int height, int width, int attribute, int bordertype) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceValidation part of DrawBox method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- row and column are positive values, height ≥ 1 and width ≥ 1,
- 0 ≤ attribute ≤ 0xff,
- bordertype is one of BDR_SINGLE, BDR_DOUBLE or BDR_SOLID.
- All display units specified by units are online,
- row, column, height and width specify a valid region on all affected units.
- Specified by:
drawBoxin interfaceRemoteOrderDisplayInterface- Parameters:
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.attribute- VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.bordertype- The border type to be drawn.- Returns:
- DrawBox object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method ClearVideoRegion.
-
drawBox
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of DrawBox method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a DrawBox object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- request.getRow(), request.getColumn(), request.getHeight() and request.getWidth() specify a valid region on all affected units.
- Specified by:
drawBoxin interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by DrawBox.- Throws:
jpos.JposException- For details, see UPOS method DrawBox.
-
restoreVideoRegion
public RestoreVideoRegion restoreVideoRegion(int units, int targetRow, int targetColumn, int bufferId) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceValidation part of RestoreVideoRegion method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- targetRow and targetColumn are positive values,
- 1 ≤ bufferId.
- All display units specified by units are online,
- row and column specify a valid coordinate on all affected units,
- bufferId ≤ VideoSaveBuffers.
- Specified by:
restoreVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
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.- Returns:
- RestoreVideoRegion object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method RestoreVideoRegion.
-
restoreVideoRegion
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of RestoreVideoRegion method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a RestoreVideoRegion object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- request.getTargetRow() and request.getTargetColumn() specify a valid coordinate on all affected units.
- request.getBufferId() ≤ VideoSaveBuffers.
- Specified by:
restoreVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by RestoreVideoRegion.- Throws:
jpos.JposException- For details, see UPOS method RestoreVideoRegion.
-
saveVideoRegion
public SaveVideoRegion saveVideoRegion(int units, int row, int column, int height, int width, int bufferId) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceValidation part of SaveVideoRegion method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- row and column are positive values, height ≥ 1 and width ≥ 1.
- 1 ≤ bufferId.
- All display units specified by units are online,
- row, column, height and width specify a valid region on all affected units,
- bufferId ≤ VideoSaveBuffers for all specified units.
- Specified by:
saveVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
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.- Returns:
- SaveVideoRegion object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method SaveVideoRegion.
-
saveVideoRegion
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of SaveVideoRegion method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a SaveVideoRegion object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- request.getRow(), request.getColumn(), request.getHeight() and request.getWidth() specify a valid region on all affected units.
- request.getBufferId() ≤ VideoSaveBuffers.
- Specified by:
saveVideoRegionin interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by SaveVideoRegion.- Throws:
jpos.JposException- For details, see UPOS method SaveVideoRegion.
-
transactionDisplay
Description copied from interface:RemoteOrderDisplayInterfaceValidation part of TransactionDisplay method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- function is one of TD_TRANSACTION or TD_NORMAL.
- No transaction is active.
- A transaction is in progress.
- If AsyncMode is false, the following condition has been checked as well:
- All display units specified by units are online.
- Specified by:
transactionDisplayin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.function- Transaction control function.- Returns:
- TransactionDisplay object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method TransactionDisplay.
-
transactionDisplay
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of TransactionDisplay method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a TransactionDisplay object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- Specified by:
transactionDisplayin interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by TransactionDisplay.- Throws:
jpos.JposException- For details, see UPOS method TransactionDisplay.
-
updateVideoRegionAttribute
public UpdateVideoRegionAttribute updateVideoRegionAttribute(int units, int function, int row, int column, int height, int width, int attribute) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceValidation part of UpdateVideoRegionAttribute method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- function is one of UA_SET, UA_INTENSITY_ON, UA_INTENSITY_OFF, UA_REVERSE_ON, UA_REVERSE_OFF, UA_BLINK_ON, or UA_BLINK_OFF,
- row and column are positive values, height ≥ 1 and width ≥ 1.
If AsyncMode is false, the following conditions have been checked, too:- All display units specified by units are online,
- row, column, height and width specify a valid region on all affected units.
- Specified by:
updateVideoRegionAttributein interfaceRemoteOrderDisplayInterface- Parameters:
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.- Returns:
- UpdateVideoRegionAttribute object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method UpdateVideoRegionAttribute.
-
updateVideoRegionAttribute
public void updateVideoRegionAttribute(UpdateVideoRegionAttribute request) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceFinal part of UpdateVideoRegionAttribute method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a UpdateVideoRegionAttribute object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- request.getRow(), request.getColumn(), request.getHeight() and request.getWidth() specify a valid region on all affected units.
- Specified by:
updateVideoRegionAttributein interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by UpdateVideoRegionAttribute.- Throws:
jpos.JposException- For details, see UPOS method UpdateVideoRegionAttribute.
-
videoSound
public VideoSound videoSound(int units, int frequency, int duration, int numberOfCycles, int interSoundWait) throws jpos.JposExceptionDescription copied from interface:RemoteOrderDisplayInterfaceValidation part of VideoSound method. Can be overwritten within derived classes, if necessary. This method shall only perform additional validation. It will be called before the service buffers the method call for synchronous or asynchronous execution. This method will be called only if the following plausibility checks lead to a positive result:- Device is enabled,
- All display units specified by units are online,
- For all affected units, CapTone is true.
- Specified by:
videoSoundin interfaceRemoteOrderDisplayInterface- Parameters:
units- Bitwise mask indicating which video unit(s) to operate on.frequency- Tone frequency in Hertz.duration- Tone duration in milliseconds.numberOfCycles- Number of cycles to generate tone.interSoundWait- Delay between sounds, in milliseconds.- Returns:
- VideoSound object for use in final part.
- Throws:
jpos.JposException- For details, see UPOS method VideoSound.
-
videoSound
Description copied from interface:RemoteOrderDisplayInterfaceFinal part of VideoSound method. Can be overwritten within derived classes, if necessary. The parameters of the method will be passed via a UpdateVideoRegionAttribute object. This method will be called when the corresponding operation shall be performed, either synchronously or asynchronously. All plausibility checks have been made before, only runtime errors can occur.
In case of asynchronous processing, the following additional checks have been made before invocation:- All display units specified by request.getUnits() are online.
- For all affected units, CapTone is true.
- Specified by:
videoSoundin interfaceRemoteOrderDisplayInterface- Parameters:
request- Output request object returned by validation method that contains all parameters to be used by VideoSound.- Throws:
jpos.JposException- For details, see UPOS method VideoSound.
-