Class CoinDispenserService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.coindispenser.CoinDispenserService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.CoinDispenserService110
,jpos.services.CoinDispenserService111
,jpos.services.CoinDispenserService112
,jpos.services.CoinDispenserService113
,jpos.services.CoinDispenserService114
,jpos.services.CoinDispenserService115
,jpos.services.CoinDispenserService116
,jpos.services.CoinDispenserService12
,jpos.services.CoinDispenserService13
,jpos.services.CoinDispenserService14
,jpos.services.CoinDispenserService15
,jpos.services.CoinDispenserService16
,jpos.services.CoinDispenserService17
,jpos.services.CoinDispenserService18
,jpos.services.CoinDispenserService19
CoinDispenser service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the CoinDispenserInterface for coin dispenser 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
ConstructorsConstructorDescriptionCoinDispenserService(CoinDispenserProperties props, JposDevice device)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustCashCounts(String cashCounts)
void
dispenseChange(int amount)
boolean
boolean
boolean
int
void
readCashCounts(String[] cashCounts, boolean[] discrepancy)
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.services.CoinDispenserService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotify
Methods inherited from interface jpos.services.CoinDispenserService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatistics
Methods inherited from interface jpos.services.CoinDispenserService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmware
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
CoinDispenserInterface
Instance of a class implementing the CoinDispenserInterface for coin dispenser specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
CoinDispenserService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
getCapEmptySensor
public boolean getCapEmptySensor() throws jpos.JposException- Specified by:
getCapEmptySensor
in interfacejpos.services.CoinDispenserService12
- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensor
in interfacejpos.services.CoinDispenserService12
- Throws:
jpos.JposException
-
getCapNearEmptySensor
public boolean getCapNearEmptySensor() throws jpos.JposException- Specified by:
getCapNearEmptySensor
in interfacejpos.services.CoinDispenserService12
- Throws:
jpos.JposException
-
getDispenserStatus
public int getDispenserStatus() throws jpos.JposException- Specified by:
getDispenserStatus
in interfacejpos.services.CoinDispenserService12
- Throws:
jpos.JposException
-
adjustCashCounts
- Specified by:
adjustCashCounts
in interfacejpos.services.CoinDispenserService111
- Throws:
jpos.JposException
-
readCashCounts
- Specified by:
readCashCounts
in interfacejpos.services.CoinDispenserService111
- Throws:
jpos.JposException
-
dispenseChange
public void dispenseChange(int amount) throws jpos.JposException- Specified by:
dispenseChange
in interfacejpos.services.CoinDispenserService12
- Throws:
jpos.JposException
-