Class KeylockService

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.keylock.KeylockService
All Implemented Interfaces:
jpos.loader.JposServiceInstance, jpos.services.BaseService, jpos.services.KeylockService110, jpos.services.KeylockService111, jpos.services.KeylockService112, jpos.services.KeylockService113, jpos.services.KeylockService114, jpos.services.KeylockService115, jpos.services.KeylockService116, jpos.services.KeylockService12, jpos.services.KeylockService13, jpos.services.KeylockService14, jpos.services.KeylockService15, jpos.services.KeylockService16, jpos.services.KeylockService17, jpos.services.KeylockService18, jpos.services.KeylockService19

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

    • KeylockInterface

      public KeylockInterface KeylockInterface
      Instance of a class implementing the KeylockInterface for keylock specific setter and method calls bound to the property set. Almost always the same object as Data.
  • Constructor Details

    • KeylockService

      public KeylockService(KeylockProperties props, JposDevice device)
      Constructor. Stores property set and device driver implementation
      Parameters:
      props - Device service property set.
      device - Device driver implementation.
  • Method Details

    • getCapKeylockType

      public int getCapKeylockType() throws jpos.JposException
      Specified by:
      getCapKeylockType in interface jpos.services.KeylockService111
      Throws:
      jpos.JposException
    • getElectronicKeyValue

      public byte[] getElectronicKeyValue() throws jpos.JposException
      Specified by:
      getElectronicKeyValue in interface jpos.services.KeylockService111
      Throws:
      jpos.JposException
    • getKeyPosition

      public int getKeyPosition() throws jpos.JposException
      Specified by:
      getKeyPosition in interface jpos.services.KeylockService12
      Throws:
      jpos.JposException
    • getPositionCount

      public int getPositionCount() throws jpos.JposException
      Specified by:
      getPositionCount in interface jpos.services.KeylockService12
      Throws:
      jpos.JposException
    • waitForKeylockChange

      public void waitForKeylockChange(int i, int i1) throws jpos.JposException
      Specified by:
      waitForKeylockChange in interface jpos.services.KeylockService12
      Throws:
      jpos.JposException