Class ScannerService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.scanner.ScannerService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.ScannerService110
,jpos.services.ScannerService111
,jpos.services.ScannerService112
,jpos.services.ScannerService113
,jpos.services.ScannerService114
,jpos.services.ScannerService115
,jpos.services.ScannerService116
,jpos.services.ScannerService12
,jpos.services.ScannerService13
,jpos.services.ScannerService14
,jpos.services.ScannerService15
,jpos.services.ScannerService16
,jpos.services.ScannerService17
,jpos.services.ScannerService18
,jpos.services.ScannerService19
Scanner service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the ScannerInterface for scanner 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
Constructors -
Method Summary
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabled, checkEnabledUnclaimed, checkFirstEnabled, checkHealth, checkNoChangedOrClaimed, checkOpened, claim, clearInput, clearInputProperties, clearOutput, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataCount, 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, setAsyncMode, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEvents
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
Methods inherited from interface jpos.services.ScannerService110
clearInputProperties
Methods inherited from interface jpos.services.ScannerService12
clearInput, getAutoDisable, getDataCount, getDataEventEnabled, setAutoDisable, setDataEventEnabled
Methods inherited from interface jpos.services.ScannerService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotify
Methods inherited from interface jpos.services.ScannerService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatistics
Methods inherited from interface jpos.services.ScannerService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmware
-
Field Details
-
ScannerInterface
Instance of a class implementing the ScannerInterface for scanner specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
ScannerService
Constructor. Stores property set and device driver implementation- Parameters:
props
- Device service property set.device
- Device driver implementation.
-
-
Method Details
-
getDecodeData
public boolean getDecodeData() throws jpos.JposException- Specified by:
getDecodeData
in interfacejpos.services.ScannerService12
- Throws:
jpos.JposException
-
setDecodeData
public void setDecodeData(boolean b) throws jpos.JposException- Specified by:
setDecodeData
in interfacejpos.services.ScannerService12
- Throws:
jpos.JposException
-
getScanData
public byte[] getScanData() throws jpos.JposException- Specified by:
getScanData
in interfacejpos.services.ScannerService12
- Throws:
jpos.JposException
-
getScanDataLabel
public byte[] getScanDataLabel() throws jpos.JposException- Specified by:
getScanDataLabel
in interfacejpos.services.ScannerService12
- Throws:
jpos.JposException
-
getScanDataType
public int getScanDataType() throws jpos.JposException- Specified by:
getScanDataType
in interfacejpos.services.ScannerService12
- Throws:
jpos.JposException
-