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 TypeMethodDescriptionvoid
adjustCashCounts(String cashCounts)
void
void
dispenseCash(String cashCounts)
void
dispenseChange(int amount)
void
endDeposit(int success)
void
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
int
int
int
int
int
int
boolean
int
int
void
pauseDeposit(int control)
void
readCashCounts(String[] cashCounts, boolean[] discrepancy)
void
void
setCurrentExit(int i)
void
setCurrentService(int i)
void
setRealTimeDataEnabled(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, 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.CashChangerService12
getAsyncMode, setAsyncMode
Methods inherited from interface jpos.services.CashChangerService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotify
Methods inherited from interface jpos.services.CashChangerService15
clearInput, getDataCount, getDataEventEnabled, setDataEventEnabled
Methods inherited from interface jpos.services.CashChangerService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatistics
Methods inherited from interface jpos.services.CashChangerService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmware
Methods 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:
getAsyncResultCode
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getAsyncResultCodeExtended
public int getAsyncResultCodeExtended() throws jpos.JposException- Specified by:
getAsyncResultCodeExtended
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCapDeposit
public boolean getCapDeposit() throws jpos.JposException- Specified by:
getCapDeposit
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getCapDepositDataEvent
public boolean getCapDepositDataEvent() throws jpos.JposException- Specified by:
getCapDepositDataEvent
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getCapDiscrepancy
public boolean getCapDiscrepancy() throws jpos.JposException- Specified by:
getCapDiscrepancy
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCapEmptySensor
public boolean getCapEmptySensor() throws jpos.JposException- Specified by:
getCapEmptySensor
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCapFullSensor
public boolean getCapFullSensor() throws jpos.JposException- Specified by:
getCapFullSensor
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensor
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
getCapNearEmptySensor
public boolean getCapNearEmptySensor() throws jpos.JposException- Specified by:
getCapNearEmptySensor
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCapNearFullSensor
public boolean getCapNearFullSensor() throws jpos.JposException- Specified by:
getCapNearFullSensor
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCapPauseDeposit
public boolean getCapPauseDeposit() throws jpos.JposException- Specified by:
getCapPauseDeposit
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getCapRepayDeposit
public boolean getCapRepayDeposit() throws jpos.JposException- Specified by:
getCapRepayDeposit
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getCapRealTimeData
public boolean getCapRealTimeData() throws jpos.JposException- Specified by:
getCapRealTimeData
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
getCurrencyCashList
- Specified by:
getCurrencyCashList
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCurrencyCode
- Specified by:
getCurrencyCode
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCurrencyCodeList
- Specified by:
getCurrencyCodeList
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCurrentExit
public int getCurrentExit() throws jpos.JposException- Specified by:
getCurrentExit
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getCurrentService
public int getCurrentService() throws jpos.JposException- Specified by:
getCurrentService
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
getDepositAmount
public int getDepositAmount() throws jpos.JposException- Specified by:
getDepositAmount
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getDepositCashList
- Specified by:
getDepositCashList
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getDepositCodeList
- Specified by:
getDepositCodeList
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getDepositCounts
- Specified by:
getDepositCounts
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getDepositStatus
public int getDepositStatus() throws jpos.JposException- Specified by:
getDepositStatus
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
getDeviceExits
public int getDeviceExits() throws jpos.JposException- Specified by:
getDeviceExits
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getDeviceStatus
public int getDeviceStatus() throws jpos.JposException- Specified by:
getDeviceStatus
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getExitCashList
- Specified by:
getExitCashList
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getFullStatus
public int getFullStatus() throws jpos.JposException- Specified by:
getFullStatus
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
getRealTimeDataEnabled
public boolean getRealTimeDataEnabled() throws jpos.JposException- Specified by:
getRealTimeDataEnabled
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
getServiceCount
public int getServiceCount() throws jpos.JposException- Specified by:
getServiceCount
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
getServiceIndex
public int getServiceIndex() throws jpos.JposException- Specified by:
getServiceIndex
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
setCurrencyCode
- Specified by:
setCurrencyCode
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
setCurrentExit
public void setCurrentExit(int i) throws jpos.JposException- Specified by:
setCurrentExit
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
setCurrentService
public void setCurrentService(int i) throws jpos.JposException- Specified by:
setCurrentService
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
setRealTimeDataEnabled
public void setRealTimeDataEnabled(boolean b) throws jpos.JposException- Specified by:
setRealTimeDataEnabled
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
adjustCashCounts
- Specified by:
adjustCashCounts
in interfacejpos.services.CashChangerService111
- Throws:
jpos.JposException
-
beginDeposit
public void beginDeposit() throws jpos.JposException- Specified by:
beginDeposit
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
endDeposit
public void endDeposit(int success) throws jpos.JposException- Specified by:
endDeposit
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
fixDeposit
public void fixDeposit() throws jpos.JposException- Specified by:
fixDeposit
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
pauseDeposit
public void pauseDeposit(int control) throws jpos.JposException- Specified by:
pauseDeposit
in interfacejpos.services.CashChangerService15
- Throws:
jpos.JposException
-
dispenseCash
- Specified by:
dispenseCash
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
dispenseChange
public void dispenseChange(int amount) throws jpos.JposException- Specified by:
dispenseChange
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-
readCashCounts
- Specified by:
readCashCounts
in interfacejpos.services.CashChangerService12
- Throws:
jpos.JposException
-