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 TypeMethodDescriptionvoidbumpBarSound(int units, int frequency, int duration, int numberOfCycles, int interSoundWait)booleanGet common property AsyncMode, see UPOS specificationintintintbooleanintintintintintgetKeys()intintvoidsetAsyncMode(boolean b)Get common property AsyncMode, see UPOS specificationvoidsetAutoToneDuration(int i)voidsetAutoToneFrequency(int i)voidsetCurrentUnitID(int i)voidsetKeyTranslation(int units, int scanCode, int logicalKey)voidsetTimeout(int i)intvalidateTone(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, 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.services.BumpBarService13
clearInput, clearOutput, getCapPowerReporting, getDataCount, getDataEventEnabled, getOutputID, getPowerNotify, getPowerState, setDataEventEnabled, setPowerNotifyMethods inherited from interface jpos.services.BumpBarService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatisticsMethods inherited from interface jpos.services.BumpBarService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmwareMethods 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:JposBaseGet common property AsyncMode, see UPOS specification- Specified by:
getAsyncModein interfacejpos.services.BumpBarService13- 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.BumpBarService13- Overrides:
setAsyncModein classJposBase- Parameters:
b- New property value- Throws:
jpos.JposException- See UPOS specification, property PowerNotify
-
getCapTone
public boolean getCapTone() throws jpos.JposException- Specified by:
getCapTonein interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getAutoToneDuration
public int getAutoToneDuration() throws jpos.JposException- Specified by:
getAutoToneDurationin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
setAutoToneDuration
public void setAutoToneDuration(int i) throws jpos.JposException- Specified by:
setAutoToneDurationin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getAutoToneFrequency
public int getAutoToneFrequency() throws jpos.JposException- Specified by:
getAutoToneFrequencyin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
setAutoToneFrequency
public void setAutoToneFrequency(int i) throws jpos.JposException- Specified by:
setAutoToneFrequencyin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getBumpBarDataCount
public int getBumpBarDataCount() throws jpos.JposException- Specified by:
getBumpBarDataCountin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getCurrentUnitID
public int getCurrentUnitID() throws jpos.JposException- Specified by:
getCurrentUnitIDin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
setCurrentUnitID
public void setCurrentUnitID(int i) throws jpos.JposException- Specified by:
setCurrentUnitIDin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getErrorString
- Specified by:
getErrorStringin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getErrorUnits
public int getErrorUnits() throws jpos.JposException- Specified by:
getErrorUnitsin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getEventString
- Specified by:
getEventStringin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getEventUnitID
public int getEventUnitID() throws jpos.JposException- Specified by:
getEventUnitIDin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getEventUnits
public int getEventUnits() throws jpos.JposException- Specified by:
getEventUnitsin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getKeys
public int getKeys() throws jpos.JposException- Specified by:
getKeysin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getTimeout
public int getTimeout() throws jpos.JposException- Specified by:
getTimeoutin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
setTimeout
public void setTimeout(int i) throws jpos.JposException- Specified by:
setTimeoutin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
getUnitsOnline
public int getUnitsOnline() throws jpos.JposException- Specified by:
getUnitsOnlinein 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:
bumpBarSoundin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-
setKeyTranslation
public void setKeyTranslation(int units, int scanCode, int logicalKey) throws jpos.JposException- Specified by:
setKeyTranslationin interfacejpos.services.BumpBarService13- Throws:
jpos.JposException
-