Class BillDispenserService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.billdispenser.BillDispenserService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.BillDispenserService111
,jpos.services.BillDispenserService112
,jpos.services.BillDispenserService113
,jpos.services.BillDispenserService114
,jpos.services.BillDispenserService115
,jpos.services.BillDispenserService116
BillDispenser service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the BillDispenserInterface for bill 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
ConstructorsConstructorDescriptionBillDispenserService(BillDispenserProperties props, JposDevice device)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustCashCounts(String cashCounts)
void
dispenseCash(String cashCounts)
int
int
boolean
boolean
boolean
boolean
int
int
int
void
readCashCounts(String[] cashCounts, boolean[] discrepancy)
void
void
setCurrentExit(int i)
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.BillDispenserService111
clearOutput, compareFirmwareVersion, getAsyncMode, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setAsyncMode, setPowerNotify, updateFirmware, updateStatistics
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
BillDispenserInterface
Instance of a class implementing the BillDispenserInterface for bill dispenser specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
BillDispenserService
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.BillDispenserService111
- Throws:
jpos.JposException
-
getAsyncResultCodeExtended
public int getAsyncResultCodeExtended() throws jpos.JposException- Specified by:
getAsyncResultCodeExtended
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getCapDiscrepancy
public boolean getCapDiscrepancy() throws jpos.JposException- Specified by:
getCapDiscrepancy
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getCapEmptySensor
public boolean getCapEmptySensor() throws jpos.JposException- Specified by:
getCapEmptySensor
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensor
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getCapNearEmptySensor
public boolean getCapNearEmptySensor() throws jpos.JposException- Specified by:
getCapNearEmptySensor
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getCurrencyCashList
- Specified by:
getCurrencyCashList
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getCurrencyCode
- Specified by:
getCurrencyCode
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getCurrencyCodeList
- Specified by:
getCurrencyCodeList
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getCurrentExit
public int getCurrentExit() throws jpos.JposException- Specified by:
getCurrentExit
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getDeviceExits
public int getDeviceExits() throws jpos.JposException- Specified by:
getDeviceExits
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getDeviceStatus
public int getDeviceStatus() throws jpos.JposException- Specified by:
getDeviceStatus
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
getExitCashList
- Specified by:
getExitCashList
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
setCurrencyCode
- Specified by:
setCurrencyCode
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
setCurrentExit
public void setCurrentExit(int i) throws jpos.JposException- Specified by:
setCurrentExit
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
adjustCashCounts
- Specified by:
adjustCashCounts
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
dispenseCash
- Specified by:
dispenseCash
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-
readCashCounts
- Specified by:
readCashCounts
in interfacejpos.services.BillDispenserService111
- Throws:
jpos.JposException
-