Class CashChangerService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.cashchanger.CashChangerService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance,jpos.services.BaseService,jpos.services.CashChangerService110,jpos.services.CashChangerService111,jpos.services.CashChangerService112,jpos.services.CashChangerService113,jpos.services.CashChangerService114,jpos.services.CashChangerService115,jpos.services.CashChangerService116,jpos.services.CashChangerService12,jpos.services.CashChangerService13,jpos.services.CashChangerService14,jpos.services.CashChangerService15,jpos.services.CashChangerService16,jpos.services.CashChangerService17,jpos.services.CashChangerService18,jpos.services.CashChangerService19
CashChanger service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the CashChangerInterface for cash changer 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
ConstructorsConstructorDescriptionCashChangerService(CashChangerProperties props, JposDevice device)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustCashCounts(String cashCounts)voidvoiddispenseCash(String cashCounts)voiddispenseChange(int amount)voidendDeposit(int success)voidintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintintintintintintintbooleanintintvoidpauseDeposit(int control)voidreadCashCounts(String[] cashCounts, boolean[] discrepancy)voidvoidsetCurrentExit(int i)voidsetCurrentService(int i)voidsetRealTimeDataEnabled(boolean b)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.CashChangerService12
getAsyncMode, setAsyncModeMethods inherited from interface jpos.services.CashChangerService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotifyMethods inherited from interface jpos.services.CashChangerService15
clearInput, getDataCount, getDataEventEnabled, setDataEventEnabledMethods inherited from interface jpos.services.CashChangerService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatisticsMethods inherited from interface jpos.services.CashChangerService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmwareMethods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
CashChangerInterface
Instance of a class implementing the CashChangerInterface for cash changer specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
CashChangerService
Constructor. Stores given property set and device implementation object.- Parameters:
props- Property set.device- Device implementation object.
-
-
Method Details
-
getAsyncResultCode
public int getAsyncResultCode() throws jpos.JposException- Specified by:
getAsyncResultCodein interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getAsyncResultCodeExtended
public int getAsyncResultCodeExtended() throws jpos.JposException- Specified by:
getAsyncResultCodeExtendedin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCapDeposit
public boolean getCapDeposit() throws jpos.JposException- Specified by:
getCapDepositin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getCapDepositDataEvent
public boolean getCapDepositDataEvent() throws jpos.JposException- Specified by:
getCapDepositDataEventin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getCapDiscrepancy
public boolean getCapDiscrepancy() throws jpos.JposException- Specified by:
getCapDiscrepancyin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCapEmptySensor
public boolean getCapEmptySensor() throws jpos.JposException- Specified by:
getCapEmptySensorin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCapFullSensor
public boolean getCapFullSensor() throws jpos.JposException- Specified by:
getCapFullSensorin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensorin interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
getCapNearEmptySensor
public boolean getCapNearEmptySensor() throws jpos.JposException- Specified by:
getCapNearEmptySensorin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCapNearFullSensor
public boolean getCapNearFullSensor() throws jpos.JposException- Specified by:
getCapNearFullSensorin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCapPauseDeposit
public boolean getCapPauseDeposit() throws jpos.JposException- Specified by:
getCapPauseDepositin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getCapRepayDeposit
public boolean getCapRepayDeposit() throws jpos.JposException- Specified by:
getCapRepayDepositin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getCapRealTimeData
public boolean getCapRealTimeData() throws jpos.JposException- Specified by:
getCapRealTimeDatain interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
getCurrencyCashList
- Specified by:
getCurrencyCashListin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCurrencyCode
- Specified by:
getCurrencyCodein interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCurrencyCodeList
- Specified by:
getCurrencyCodeListin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCurrentExit
public int getCurrentExit() throws jpos.JposException- Specified by:
getCurrentExitin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getCurrentService
public int getCurrentService() throws jpos.JposException- Specified by:
getCurrentServicein interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
getDepositAmount
public int getDepositAmount() throws jpos.JposException- Specified by:
getDepositAmountin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getDepositCashList
- Specified by:
getDepositCashListin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getDepositCodeList
- Specified by:
getDepositCodeListin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getDepositCounts
- Specified by:
getDepositCountsin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getDepositStatus
public int getDepositStatus() throws jpos.JposException- Specified by:
getDepositStatusin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
getDeviceExits
public int getDeviceExits() throws jpos.JposException- Specified by:
getDeviceExitsin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getDeviceStatus
public int getDeviceStatus() throws jpos.JposException- Specified by:
getDeviceStatusin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getExitCashList
- Specified by:
getExitCashListin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getFullStatus
public int getFullStatus() throws jpos.JposException- Specified by:
getFullStatusin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
getRealTimeDataEnabled
public boolean getRealTimeDataEnabled() throws jpos.JposException- Specified by:
getRealTimeDataEnabledin interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
getServiceCount
public int getServiceCount() throws jpos.JposException- Specified by:
getServiceCountin interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
getServiceIndex
public int getServiceIndex() throws jpos.JposException- Specified by:
getServiceIndexin interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
setCurrencyCode
- Specified by:
setCurrencyCodein interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
setCurrentExit
public void setCurrentExit(int i) throws jpos.JposException- Specified by:
setCurrentExitin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
setCurrentService
public void setCurrentService(int i) throws jpos.JposException- Specified by:
setCurrentServicein interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
setRealTimeDataEnabled
public void setRealTimeDataEnabled(boolean b) throws jpos.JposException- Specified by:
setRealTimeDataEnabledin interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
adjustCashCounts
- Specified by:
adjustCashCountsin interfacejpos.services.CashChangerService111- Throws:
jpos.JposException
-
beginDeposit
public void beginDeposit() throws jpos.JposException- Specified by:
beginDepositin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
endDeposit
public void endDeposit(int success) throws jpos.JposException- Specified by:
endDepositin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
fixDeposit
public void fixDeposit() throws jpos.JposException- Specified by:
fixDepositin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
pauseDeposit
public void pauseDeposit(int control) throws jpos.JposException- Specified by:
pauseDepositin interfacejpos.services.CashChangerService15- Throws:
jpos.JposException
-
dispenseCash
- Specified by:
dispenseCashin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
dispenseChange
public void dispenseChange(int amount) throws jpos.JposException- Specified by:
dispenseChangein interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-
readCashCounts
- Specified by:
readCashCountsin interfacejpos.services.CashChangerService12- Throws:
jpos.JposException
-