Interface KeylockInterface

All Superinterfaces:
JposBaseInterface
All Known Implementing Classes:
Keylock, KeylockProperties

public interface KeylockInterface extends JposBaseInterface
Interface for methods that implement property setter and method calls for the Keylock device category. For details about properties, methods and method parameters, see UPOS specification, chapter Keylock. Further details about error handling can be found in introduction - Device Behavior Models - Errors.
  • Method Details

    • waitForKeylockChange

      void waitForKeylockChange(int keyPosition, int timeout) throws jpos.JposException
      Final part of WaitForKeylockChange method. Can be overwritten in derived class, if necessary. This method will be called only if the following plausibility checks lead to a positive result:
      • Device is enabled,
      • keyPosition is between 0 and PositionCount,
      • timeout is ≥ 0 or JPOS_FOREVER.
      Parameters:
      keyPosition - Requested keylock position.
      timeout - Maximum number of milliseconds to wait for the keylock before returning control back to the application.
      Throws:
      jpos.JposException - If an error occurs.