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 TypeMethodDescriptionvoidadjustCashCounts(String cashCounts)voiddispenseChange(int amount)booleanbooleanbooleanintvoidreadCashCounts(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, 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.CoinDispenserService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotifyMethods inherited from interface jpos.services.CoinDispenserService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatisticsMethods inherited from interface jpos.services.CoinDispenserService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmwareMethods 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:
getCapEmptySensorin interfacejpos.services.CoinDispenserService12- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensorin interfacejpos.services.CoinDispenserService12- Throws:
jpos.JposException
-
getCapNearEmptySensor
public boolean getCapNearEmptySensor() throws jpos.JposException- Specified by:
getCapNearEmptySensorin interfacejpos.services.CoinDispenserService12- Throws:
jpos.JposException
-
getDispenserStatus
public int getDispenserStatus() throws jpos.JposException- Specified by:
getDispenserStatusin interfacejpos.services.CoinDispenserService12- Throws:
jpos.JposException
-
adjustCashCounts
- Specified by:
adjustCashCountsin interfacejpos.services.CoinDispenserService111- Throws:
jpos.JposException
-
readCashCounts
- Specified by:
readCashCountsin interfacejpos.services.CoinDispenserService111- Throws:
jpos.JposException
-
dispenseChange
public void dispenseChange(int amount) throws jpos.JposException- Specified by:
dispenseChangein interfacejpos.services.CoinDispenserService12- Throws:
jpos.JposException
-