Class RemoteOrderDisplayService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.RemoteOrderDisplayService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance,jpos.services.BaseService,jpos.services.RemoteOrderDisplayService110,jpos.services.RemoteOrderDisplayService111,jpos.services.RemoteOrderDisplayService112,jpos.services.RemoteOrderDisplayService113,jpos.services.RemoteOrderDisplayService114,jpos.services.RemoteOrderDisplayService115,jpos.services.RemoteOrderDisplayService116,jpos.services.RemoteOrderDisplayService13,jpos.services.RemoteOrderDisplayService14,jpos.services.RemoteOrderDisplayService15,jpos.services.RemoteOrderDisplayService16,jpos.services.RemoteOrderDisplayService17,jpos.services.RemoteOrderDisplayService18,jpos.services.RemoteOrderDisplayService19
public class RemoteOrderDisplayService
extends JposBase
implements jpos.services.RemoteOrderDisplayService116
RemoteOrderDisplay service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the RemoteOrderDisplayInterface for remote order display specific setter and method calls bound to the property set.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
Device, DeviceInterface, Props -
Constructor Summary
ConstructorsConstructorDescriptionRemoteOrderDisplayService(RemoteOrderDisplayProperties props, JposDevice device)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks whether the device is enabled.voidChecks whether the device has just been enabled once.voidChecks whether the device has been opened.voidIf in synchronous mode, check condition and if true, sets error properties and throws JposException.voidCommon method clearInput, see UPOS specificationvoidCommon method clearOutput, se UPOS specificationvoidclearVideo(int units, int attribute)voidclearVideoRegion(int units, int row, int column, int height, int width, int attribute)voidcontrolClock(int Units, int function, int clockid, int hour, int minute, int second, int row, int column, int attribute, int mode)voidcontrolCursor(int units, int function)voidcopyVideoRegion(int units, int row, int column, int height, int width, int targetRow, int targetColumn)voiddisplayData(int units, int row, int column, int attribute, String data)voiddrawBox(int units, int row, int column, int height, int width, int attribute, int borderType)voidfreeVideoRegion(int units, int bufferId)booleanGet common property AsyncMode, see UPOS specificationintintbooleanbooleanbooleanbooleanbooleanintintintintGet common property DataCount, see UPOS specificationintintintintbooleanintintintintintintintvoidresetVideo(int units)voidrestoreVideoRegion(int units, int targetRow, int targetColumn, int bufferId)voidsaveVideoRegion(int units, int row, int column, int height, int width, int bufferId)voidselectChararacterSet(int units, int characterSet)voidsetAsyncMode(boolean b)Get common property AsyncMode, see UPOS specificationvoidsetAutoToneDuration(int i)voidsetAutoToneFrequency(int i)voidsetCurrentUnitID(int i)voidsetCursor(int units, int row, int column)voidsetEventType(int i)voidsetMapCharacterSet(boolean b)voidsetTimeout(int i)voidsetVideoMode(int i)voidtransactionDisplay(int units, int function)voidupdateVideoRegionAttribute(int units, int function, int row, int column, int height, int width, int attribute)intvalidateBufferID(int units, int id)Checks if id is a valid buffer id for all specified units.intvalidateClockID(int bits, int id)Checks if id is a valid clock id for all units specified by bits.intvalidateCoordinates(int bits, int row, int column)Checks whether the given coordinates are valid for the specified units.intvalidateTone(int bits)Checks if CapTone is true for all units specified by bits.voidvideoSound(int units, int frequency, int duration, int NumberOfCycles, int interSountWait)Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabledUnclaimed, checkHealth, checkNoChangedOrClaimed, claim, clearInputProperties, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getOutputID, getPhysicalDeviceDescription, getPhysicalDeviceName, getPowerNotify, getPowerState, getPropertyString, getState, logAsyncCall, logCall, logCall, logGet, logGet, logPreCall, logPreCall, logPreSet, logSet, open, release, removeOuterArraySpecifier, resetStatistics, retrieveStatistics, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEventsMethods inherited from interface jpos.loader.JposServiceInstance
deleteInstanceMethods inherited from interface jpos.services.RemoteOrderDisplayService13
getCapPowerReporting, getDataEventEnabled, getOutputID, getPowerNotify, getPowerState, setDataEventEnabled, setPowerNotifyMethods inherited from interface jpos.services.RemoteOrderDisplayService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatisticsMethods inherited from interface jpos.services.RemoteOrderDisplayService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmware
-
Field Details
-
RemoteOrderDisplayInterface
Instance of a class implementing the RemoteOrderDisplayInterface for remote order display specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
RemoteOrderDisplayService
Constructor. Stores given property set and device implementation object.- Parameters:
props- Property set.device- Device implementation object.
-
-
Method Details
-
getAsyncMode
public boolean getAsyncMode() throws jpos.JposExceptionDescription copied from class:JposBaseGet common property AsyncMode, see UPOS specification- Specified by:
getAsyncModein interfacejpos.services.RemoteOrderDisplayService13- Overrides:
getAsyncModein classJposBase- Returns:
- property value
- Throws:
jpos.JposException- See UPOS specification, property
-
setAsyncMode
public void setAsyncMode(boolean b) throws jpos.JposExceptionDescription copied from class:JposBaseGet common property AsyncMode, see UPOS specification- Specified by:
setAsyncModein interfacejpos.services.RemoteOrderDisplayService13- Overrides:
setAsyncModein classJposBase- Parameters:
b- New property value- Throws:
jpos.JposException- See UPOS specification, property PowerNotify
-
getAutoToneDuration
public int getAutoToneDuration() throws jpos.JposException- Specified by:
getAutoToneDurationin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
setAutoToneDuration
public void setAutoToneDuration(int i) throws jpos.JposException- Specified by:
setAutoToneDurationin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getAutoToneFrequency
public int getAutoToneFrequency() throws jpos.JposException- Specified by:
getAutoToneFrequencyin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
setAutoToneFrequency
public void setAutoToneFrequency(int i) throws jpos.JposException- Specified by:
setAutoToneFrequencyin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getCapMapCharacterSet
public boolean getCapMapCharacterSet() throws jpos.JposException- Specified by:
getCapMapCharacterSetin interfacejpos.services.RemoteOrderDisplayService17- Throws:
jpos.JposException
-
getCapSelectCharacterSet
public boolean getCapSelectCharacterSet() throws jpos.JposException- Specified by:
getCapSelectCharacterSetin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getCapTone
public boolean getCapTone() throws jpos.JposException- Specified by:
getCapTonein interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getCapTouch
public boolean getCapTouch() throws jpos.JposException- Specified by:
getCapTouchin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getCapTransaction
public boolean getCapTransaction() throws jpos.JposException- Specified by:
getCapTransactionin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getCharacterSet
public int getCharacterSet() throws jpos.JposException- Specified by:
getCharacterSetin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getCharacterSetList
- Specified by:
getCharacterSetListin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getClocks
public int getClocks() throws jpos.JposException- Specified by:
getClocksin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getCurrentUnitID
public int getCurrentUnitID() throws jpos.JposException- Specified by:
getCurrentUnitIDin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
setCurrentUnitID
public void setCurrentUnitID(int i) throws jpos.JposException- Specified by:
setCurrentUnitIDin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getDataCount
public int getDataCount() throws jpos.JposExceptionDescription copied from class:JposBaseGet common property DataCount, see UPOS specification- Specified by:
getDataCountin interfacejpos.services.RemoteOrderDisplayService13- Overrides:
getDataCountin classJposBase- Returns:
- property value
- Throws:
jpos.JposException- See UPOS specification, property DataCount
-
getErrorString
- Specified by:
getErrorStringin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getErrorUnits
public int getErrorUnits() throws jpos.JposException- Specified by:
getErrorUnitsin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getEventString
- Specified by:
getEventStringin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getEventType
public int getEventType() throws jpos.JposException- Specified by:
getEventTypein interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
setEventType
public void setEventType(int i) throws jpos.JposException- Specified by:
setEventTypein interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getEventUnitID
public int getEventUnitID() throws jpos.JposException- Specified by:
getEventUnitIDin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getEventUnits
public int getEventUnits() throws jpos.JposException- Specified by:
getEventUnitsin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getMapCharacterSet
public boolean getMapCharacterSet() throws jpos.JposException- Specified by:
getMapCharacterSetin interfacejpos.services.RemoteOrderDisplayService17- Throws:
jpos.JposException
-
setMapCharacterSet
public void setMapCharacterSet(boolean b) throws jpos.JposException- Specified by:
setMapCharacterSetin interfacejpos.services.RemoteOrderDisplayService17- Throws:
jpos.JposException
-
getSystemClocks
public int getSystemClocks() throws jpos.JposException- Specified by:
getSystemClocksin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getSystemVideoSaveBuffers
public int getSystemVideoSaveBuffers() throws jpos.JposException- Specified by:
getSystemVideoSaveBuffersin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getTimeout
public int getTimeout() throws jpos.JposException- Specified by:
getTimeoutin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
setTimeout
public void setTimeout(int i) throws jpos.JposException- Specified by:
setTimeoutin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getUnitsOnline
public int getUnitsOnline() throws jpos.JposException- Specified by:
getUnitsOnlinein interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getVideoDataCount
public int getVideoDataCount() throws jpos.JposException- Specified by:
getVideoDataCountin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getVideoMode
public int getVideoMode() throws jpos.JposException- Specified by:
getVideoModein interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
setVideoMode
public void setVideoMode(int i) throws jpos.JposException- Specified by:
setVideoModein interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getVideoModesList
- Specified by:
getVideoModesListin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
getVideoSaveBuffers
public int getVideoSaveBuffers() throws jpos.JposException- Specified by:
getVideoSaveBuffersin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
clearInput
public void clearInput() throws jpos.JposExceptionDescription copied from class:JposBaseCommon method clearInput, see UPOS specification- Specified by:
clearInputin interfacejpos.services.RemoteOrderDisplayService13- Overrides:
clearInputin classJposBase- Throws:
jpos.JposException- see UPOS specification
-
clearOutput
public void clearOutput() throws jpos.JposExceptionDescription copied from class:JposBaseCommon method clearOutput, se UPOS specification- Specified by:
clearOutputin interfacejpos.services.RemoteOrderDisplayService13- Overrides:
clearOutputin classJposBase- Throws:
jpos.JposException- See UPOS specification, method clearOutput
-
validateCoordinates
public int validateCoordinates(int bits, int row, int column)Checks whether the given coordinates are valid for the specified units.- Parameters:
bits- Unit to be checked.row- Character row of coordinate.column- Character column of coordinate.- Returns:
- Bit mask, 1 for every requested unit where row and column are not valid coordinates.
-
validateClockID
public int validateClockID(int bits, int id)Checks if id is a valid clock id for all units specified by bits.- Parameters:
bits- Bit mask specifying all requested units.id- Clock ID to be checked.- Returns:
- Bit mask, 1 for every requested unit where id is not a valid clock ID.
-
checkSync
public void checkSync(boolean condition, int units, int error, int ext, String message) throws jpos.JposExceptionIf in synchronous mode, check condition and if true, sets error properties and throws JposException.- Parameters:
condition- Error conditionunits- Units to be filled in ErrorUnitserror- Error codeext- Extended error codemessage- Error message, same message for ErrorString and JposException- Throws:
jpos.JposException- If Error condition is true
-
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.JposException- Specified by:
controlClockin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
controlCursor
public void controlCursor(int units, int function) throws jpos.JposException- Specified by:
controlCursorin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
validateBufferID
public int validateBufferID(int units, int id)Checks if id is a valid buffer id for all specified units.- Parameters:
units- Bit mask specifying all requested units.id- Buffer ID to be checked.- Returns:
- Bit mask, 1 for every requested unit where id is not a valid buffer ID.
-
freeVideoRegion
public void freeVideoRegion(int units, int bufferId) throws jpos.JposException- Specified by:
freeVideoRegionin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
resetVideo
public void resetVideo(int units) throws jpos.JposException- Specified by:
resetVideoin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
selectChararacterSet
public void selectChararacterSet(int units, int characterSet) throws jpos.JposException- Specified by:
selectChararacterSetin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
setCursor
public void setCursor(int units, int row, int column) throws jpos.JposException- Specified by:
setCursorin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
clearVideo
public void clearVideo(int units, int attribute) throws jpos.JposException- Specified by:
clearVideoin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
clearVideoRegion
public void clearVideoRegion(int units, int row, int column, int height, int width, int attribute) throws jpos.JposException- Specified by:
clearVideoRegionin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
copyVideoRegion
public void copyVideoRegion(int units, int row, int column, int height, int width, int targetRow, int targetColumn) throws jpos.JposException- Specified by:
copyVideoRegionin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
displayData
public void displayData(int units, int row, int column, int attribute, String data) throws jpos.JposException- Specified by:
displayDatain interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
drawBox
public void drawBox(int units, int row, int column, int height, int width, int attribute, int borderType) throws jpos.JposException- Specified by:
drawBoxin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
restoreVideoRegion
public void restoreVideoRegion(int units, int targetRow, int targetColumn, int bufferId) throws jpos.JposException- Specified by:
restoreVideoRegionin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
saveVideoRegion
public void saveVideoRegion(int units, int row, int column, int height, int width, int bufferId) throws jpos.JposException- Specified by:
saveVideoRegionin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
transactionDisplay
public void transactionDisplay(int units, int function) throws jpos.JposException- Specified by:
transactionDisplayin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
updateVideoRegionAttribute
public void updateVideoRegionAttribute(int units, int function, int row, int column, int height, int width, int attribute) throws jpos.JposException- Specified by:
updateVideoRegionAttributein interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
validateTone
public int validateTone(int bits)Checks if CapTone is true for all units specified by bits.- Parameters:
bits- Bit mask specifying all units to be checked.- Returns:
- Bit mask, 1 for every requested unit where CapTone is false.
-
videoSound
public void videoSound(int units, int frequency, int duration, int NumberOfCycles, int interSountWait) throws jpos.JposException- Specified by:
videoSoundin interfacejpos.services.RemoteOrderDisplayService13- Throws:
jpos.JposException
-
checkFirstEnabled
public void checkFirstEnabled() throws jpos.JposExceptionDescription copied from class:JposBaseChecks whether the device has just been enabled once. If not, throws a JposException with an error code and message that describe the state of the device.- Overrides:
checkFirstEnabledin classJposBase- Throws:
jpos.JposException- Will be thrown whenever the device has never been enabled.
-
checkOpened
public void checkOpened() throws jpos.JposExceptionDescription copied from class:JposBaseChecks whether the device has been opened. If not, a JposException will be thrown with the corresponding error code.- Overrides:
checkOpenedin classJposBase- Throws:
jpos.JposException- Will be thrown whenever the device has not been opened or has been closed.
-
checkEnabled
public void checkEnabled() throws jpos.JposExceptionDescription copied from class:JposBaseChecks whether the device is enabled. If not, throws a JposException with an error code and message that describe the state of the device.- Overrides:
checkEnabledin classJposBase- Throws:
jpos.JposException- Will be thrown whenever the device is not enabled.
-