Class RFIDScannerService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.rfidscanner.RFIDScannerService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance,jpos.services.BaseService,jpos.services.RFIDScannerService112,jpos.services.RFIDScannerService113,jpos.services.RFIDScannerService114,jpos.services.RFIDScannerService115,jpos.services.RFIDScannerService116
RFIDScanner service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the RFIDScannerInterface for RFID scanner specific setter and method calls bound to the property set.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
Device, DeviceInterface, Props -
Constructor Summary
ConstructorsConstructorDescriptionRFIDScannerService(RFIDScannerProperties props, JposDevice device)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoiddisableTag(byte[] tagID, int timeout, byte[] password)voidfirstTag()booleanbooleanbooleanintbooleanbooleanintbooleanbyte[]intbyte[]intintintvoidlockTag(byte[] tagID, int timeout, byte[] password)voidnextTag()voidvoidreadTags(int cmd, byte[] filterID, byte[] filtermask, int start, int length, int timeout, byte[] password)voidsetCurrentTagData(int index)Sets the current tag properties to the tag pointed to by the given index in the list of tags read, provided by the last delivered RFIDScannerDataEvent event.voidsetProtocolMask(int mask)voidsetReadTimerInterval(int interval)voidstartReadTags(int cmd, byte[] filterID, byte[] filtermask, int start, int length, byte[] password)voidstopReadTags(byte[] password)voidwriteTagData(byte[] tagID, byte[] userdata, int start, int timeout, byte[] password)voidwriteTagID(byte[] sourceID, byte[] destID, int timeout, byte[] password)Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabled, checkEnabledUnclaimed, checkFirstEnabled, checkHealth, checkNoChangedOrClaimed, checkOpened, claim, clearInput, clearInputProperties, clearOutput, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataCount, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getOutputID, getPhysicalDeviceDescription, getPhysicalDeviceName, getPowerNotify, getPowerState, getPropertyString, getState, logAsyncCall, logCall, logCall, logGet, logGet, logPreCall, logPreCall, logPreSet, logSet, open, release, removeOuterArraySpecifier, resetStatistics, retrieveStatistics, setAsyncMode, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEventsMethods inherited from interface jpos.loader.JposServiceInstance
deleteInstanceMethods inherited from interface jpos.services.RFIDScannerService112
clearInput, clearInputProperties, clearOutput, compareFirmwareVersion, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getDataCount, getDataEventEnabled, getOutputID, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setAutoDisable, setDataEventEnabled, setPowerNotify, updateFirmware, updateStatistics
-
Field Details
-
RFIDScanner
Instance of a class implementing the RFIDScannerInterface for RFID scanner specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
RFIDScannerService
Constructor. Stores given property set and device implementation object.- Parameters:
props- Property set.device- Device implementation object.
-
-
Method Details
-
getCapContinuousRead
public boolean getCapContinuousRead() throws jpos.JposException- Specified by:
getCapContinuousReadin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCapDisableTag
public boolean getCapDisableTag() throws jpos.JposException- Specified by:
getCapDisableTagin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCapLockTag
public boolean getCapLockTag() throws jpos.JposException- Specified by:
getCapLockTagin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCapMultipleProtocols
public int getCapMultipleProtocols() throws jpos.JposException- Specified by:
getCapMultipleProtocolsin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCapReadTimer
public boolean getCapReadTimer() throws jpos.JposException- Specified by:
getCapReadTimerin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCapRealTimeData
public boolean getCapRealTimeData() throws jpos.JposException- Specified by:
getCapRealTimeDatain interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCapWriteTag
public int getCapWriteTag() throws jpos.JposException- Specified by:
getCapWriteTagin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getContinuousReadMode
public boolean getContinuousReadMode() throws jpos.JposException- Specified by:
getContinuousReadModein interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCurrentTagID
public byte[] getCurrentTagID() throws jpos.JposException- Specified by:
getCurrentTagIDin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCurrentTagProtocol
public int getCurrentTagProtocol() throws jpos.JposException- Specified by:
getCurrentTagProtocolin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getCurrentTagUserData
public byte[] getCurrentTagUserData() throws jpos.JposException- Specified by:
getCurrentTagUserDatain interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getProtocolMask
public int getProtocolMask() throws jpos.JposException- Specified by:
getProtocolMaskin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getReadTimerInterval
public int getReadTimerInterval() throws jpos.JposException- Specified by:
getReadTimerIntervalin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
getTagCount
public int getTagCount() throws jpos.JposException- Specified by:
getTagCountin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
setProtocolMask
public void setProtocolMask(int mask) throws jpos.JposException- Specified by:
setProtocolMaskin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
setReadTimerInterval
public void setReadTimerInterval(int interval) throws jpos.JposException- Specified by:
setReadTimerIntervalin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
setCurrentTagData
public void setCurrentTagData(int index) throws jpos.JposExceptionSets the current tag properties to the tag pointed to by the given index in the list of tags read, provided by the last delivered RFIDScannerDataEvent event.- Parameters:
index- Index within the tag list, must be a value between 0 and TagCount - 1.- Throws:
jpos.JposException- if index is out of range.
-
firstTag
public void firstTag() throws jpos.JposException- Specified by:
firstTagin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
nextTag
public void nextTag() throws jpos.JposException- Specified by:
nextTagin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
previousTag
public void previousTag() throws jpos.JposException- Specified by:
previousTagin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
startReadTags
public void startReadTags(int cmd, byte[] filterID, byte[] filtermask, int start, int length, byte[] password) throws jpos.JposException- Specified by:
startReadTagsin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
stopReadTags
public void stopReadTags(byte[] password) throws jpos.JposException- Specified by:
stopReadTagsin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
readTags
public void readTags(int cmd, byte[] filterID, byte[] filtermask, int start, int length, int timeout, byte[] password) throws jpos.JposException- Specified by:
readTagsin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
disableTag
public void disableTag(byte[] tagID, int timeout, byte[] password) throws jpos.JposException- Specified by:
disableTagin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
lockTag
public void lockTag(byte[] tagID, int timeout, byte[] password) throws jpos.JposException- Specified by:
lockTagin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
writeTagData
public void writeTagData(byte[] tagID, byte[] userdata, int start, int timeout, byte[] password) throws jpos.JposException- Specified by:
writeTagDatain interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-
writeTagID
public void writeTagID(byte[] sourceID, byte[] destID, int timeout, byte[] password) throws jpos.JposException- Specified by:
writeTagIDin interfacejpos.services.RFIDScannerService112- Throws:
jpos.JposException
-