Class BumpBarService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.bumpbar.BumpBarService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.BumpBarService110
,jpos.services.BumpBarService111
,jpos.services.BumpBarService112
,jpos.services.BumpBarService113
,jpos.services.BumpBarService114
,jpos.services.BumpBarService115
,jpos.services.BumpBarService116
,jpos.services.BumpBarService13
,jpos.services.BumpBarService14
,jpos.services.BumpBarService15
,jpos.services.BumpBarService16
,jpos.services.BumpBarService17
,jpos.services.BumpBarService18
,jpos.services.BumpBarService19
BumpBar service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the BumpBarInterface for bump bar 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
Modifier and TypeMethodDescriptionvoid
bumpBarSound(int units, int frequency, int duration, int numberOfCycles, int interSoundWait)
boolean
Get common property AsyncMode, see UPOS specificationint
int
int
boolean
int
int
int
int
int
getKeys()
int
int
void
setAsyncMode(boolean b)
Get common property AsyncMode, see UPOS specificationvoid
setAutoToneDuration(int i)
void
setAutoToneFrequency(int i)
void
setCurrentUnitID(int i)
void
setKeyTranslation(int units, int scanCode, int logicalKey)
void
setTimeout(int i)
int
validateTone(int bits)
Checks if CapTone is true for all units specified by bits.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, 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, 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.services.BumpBarService13
clearInput, clearOutput, getCapPowerReporting, getDataCount, getDataEventEnabled, getOutputID, getPowerNotify, getPowerState, setDataEventEnabled, setPowerNotify
Methods inherited from interface jpos.services.BumpBarService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatistics
Methods inherited from interface jpos.services.BumpBarService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmware
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
BumpBarInterface
Instance of a class implementing the BumpBarInterface for bump bar specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
BumpBarService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
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.
-
getAsyncMode
public boolean getAsyncMode() throws jpos.JposExceptionDescription copied from class:JposBase
Get common property AsyncMode, see UPOS specification- Specified by:
getAsyncMode
in interfacejpos.services.BumpBarService13
- Overrides:
getAsyncMode
in classJposBase
- Returns:
- property value
- Throws:
jpos.JposException
- See UPOS specification, property
-
setAsyncMode
public void setAsyncMode(boolean b) throws jpos.JposExceptionDescription copied from class:JposBase
Get common property AsyncMode, see UPOS specification- Specified by:
setAsyncMode
in interfacejpos.services.BumpBarService13
- Overrides:
setAsyncMode
in classJposBase
- Parameters:
b
- New property value- Throws:
jpos.JposException
- See UPOS specification, property PowerNotify
-
getCapTone
public boolean getCapTone() throws jpos.JposException- Specified by:
getCapTone
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getAutoToneDuration
public int getAutoToneDuration() throws jpos.JposException- Specified by:
getAutoToneDuration
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
setAutoToneDuration
public void setAutoToneDuration(int i) throws jpos.JposException- Specified by:
setAutoToneDuration
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getAutoToneFrequency
public int getAutoToneFrequency() throws jpos.JposException- Specified by:
getAutoToneFrequency
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
setAutoToneFrequency
public void setAutoToneFrequency(int i) throws jpos.JposException- Specified by:
setAutoToneFrequency
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getBumpBarDataCount
public int getBumpBarDataCount() throws jpos.JposException- Specified by:
getBumpBarDataCount
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getCurrentUnitID
public int getCurrentUnitID() throws jpos.JposException- Specified by:
getCurrentUnitID
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
setCurrentUnitID
public void setCurrentUnitID(int i) throws jpos.JposException- Specified by:
setCurrentUnitID
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getErrorString
- Specified by:
getErrorString
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getErrorUnits
public int getErrorUnits() throws jpos.JposException- Specified by:
getErrorUnits
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getEventString
- Specified by:
getEventString
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getEventUnitID
public int getEventUnitID() throws jpos.JposException- Specified by:
getEventUnitID
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getEventUnits
public int getEventUnits() throws jpos.JposException- Specified by:
getEventUnits
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getKeys
public int getKeys() throws jpos.JposException- Specified by:
getKeys
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getTimeout
public int getTimeout() throws jpos.JposException- Specified by:
getTimeout
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
setTimeout
public void setTimeout(int i) throws jpos.JposException- Specified by:
setTimeout
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
getUnitsOnline
public int getUnitsOnline() throws jpos.JposException- Specified by:
getUnitsOnline
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
bumpBarSound
public void bumpBarSound(int units, int frequency, int duration, int numberOfCycles, int interSoundWait) throws jpos.JposException- Specified by:
bumpBarSound
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-
setKeyTranslation
public void setKeyTranslation(int units, int scanCode, int logicalKey) throws jpos.JposException- Specified by:
setKeyTranslation
in interfacejpos.services.BumpBarService13
- Throws:
jpos.JposException
-