Class RFIDRequest
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.rfidscanner.RFIDRequest
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DisableTag
,LockTag
,WriteTagData
,WriteTagID
Base class for output request executor for RFIDScanner method DisableTag, LockTag, WriteTagData and WriteTagID.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
JposOutputRequest.JposRequestThread
-
Field Summary
Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
Abort, AdditionalData, Device, EndSync, Exception, Finished, OutputID, Props, Waiting
-
Constructor Summary
ConstructorsConstructorDescriptionRFIDRequest(RFIDScannerProperties props, byte[] tagID, int timeout, byte[] password)
Constructor, stores given parameters for later use of WriteData operation. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
RFIDScanner method parameter password, see UPOS specification.byte[]
getTagID()
RFIDScanner method parameter tagID or sourceID, see UPOS specification.int
RFIDScanner method parameter timeout, see UPOS specification.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
abortCommand, abortCommand, catchedInvocation, clearAll, clearInput, clearOutput, countCommands, createErrorEvent, createIdleEvent, createOutputEvent, dequeue, enqueue, enqueueSynchronous, finishAsyncProcessing, finished, invoke, reactivate, reactivate, reset, run
-
Constructor Details
-
RFIDRequest
Constructor, stores given parameters for later use of WriteData operation.- Parameters:
props
- Property set of device service.tagID
- Tag ID to be processed.timeout
- Allowed execution time, in milliseconds.password
- Authorized key for reader that might be required, zero length if not needed.
-
-
Method Details
-
getTagID
public byte[] getTagID()RFIDScanner method parameter tagID or sourceID, see UPOS specification.- Returns:
- Parameter tagID or sourceID.
-
getPassword
public byte[] getPassword()RFIDScanner method parameter password, see UPOS specification.- Returns:
- Parameter password.
-
getTimeout
public int getTimeout()RFIDScanner method parameter timeout, see UPOS specification.- Returns:
- Parameter timeout.
-