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

public class CoinDispenserService extends JposBase implements jpos.services.CoinDispenserService116
CoinDispenser service implementation. For more details about getter, setter and method implementations, see JposBase.
  • Field Details

    • CoinDispenserInterface

      public CoinDispenserInterface 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

      public CoinDispenserService(CoinDispenserProperties props, JposDevice device)
      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 interface jpos.services.CoinDispenserService12
      Throws:
      jpos.JposException
    • getCapJamSensor

      public boolean getCapJamSensor() throws jpos.JposException
      Specified by:
      getCapJamSensor in interface jpos.services.CoinDispenserService12
      Throws:
      jpos.JposException
    • getCapNearEmptySensor

      public boolean getCapNearEmptySensor() throws jpos.JposException
      Specified by:
      getCapNearEmptySensor in interface jpos.services.CoinDispenserService12
      Throws:
      jpos.JposException
    • getDispenserStatus

      public int getDispenserStatus() throws jpos.JposException
      Specified by:
      getDispenserStatus in interface jpos.services.CoinDispenserService12
      Throws:
      jpos.JposException
    • adjustCashCounts

      public void adjustCashCounts(String cashCounts) throws jpos.JposException
      Specified by:
      adjustCashCounts in interface jpos.services.CoinDispenserService111
      Throws:
      jpos.JposException
    • readCashCounts

      public void readCashCounts(String[] cashCounts, boolean[] discrepancy) throws jpos.JposException
      Specified by:
      readCashCounts in interface jpos.services.CoinDispenserService111
      Throws:
      jpos.JposException
    • dispenseChange

      public void dispenseChange(int amount) throws jpos.JposException
      Specified by:
      dispenseChange in interface jpos.services.CoinDispenserService12
      Throws:
      jpos.JposException