Interface KeylockInterface
- All Superinterfaces:
JposBaseInterface
- All Known Implementing Classes:
Keylock
,KeylockProperties
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 Summary
Modifier and TypeMethodDescriptionvoid
waitForKeylockChange(int keyPosition, int timeout)
Final part of WaitForKeylockChange method.Methods inherited from interface de.gmxhome.conrad.jpos.jpos_base.JposBaseInterface
asyncMode, autoDisable, checkHealth, claim, clearInput, clearOutput, close, compareFirmwareVersion, dataEventEnabled, deviceEnabled, directIO, directIO, flagWhenIdle, freezeEvents, handlePowerStateOnEnable, newJposOutputRequest, open, powerNotify, release, removeFromPropertySetList, resetStatistics, retrieveStatistics, retryInput, retryOutput, unitDataCount, updateFirmware, updateFirmware, updateStatistics
-
Method Details
-
waitForKeylockChange
void waitForKeylockChange(int keyPosition, int timeout) throws jpos.JposExceptionFinal 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.
-