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

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

    • RFIDScanner

      public RFIDScannerInterface 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

      public RFIDScannerService(RFIDScannerProperties props, JposDevice device)
      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:
      getCapContinuousRead in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCapDisableTag

      public boolean getCapDisableTag() throws jpos.JposException
      Specified by:
      getCapDisableTag in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCapLockTag

      public boolean getCapLockTag() throws jpos.JposException
      Specified by:
      getCapLockTag in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCapMultipleProtocols

      public int getCapMultipleProtocols() throws jpos.JposException
      Specified by:
      getCapMultipleProtocols in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCapReadTimer

      public boolean getCapReadTimer() throws jpos.JposException
      Specified by:
      getCapReadTimer in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCapRealTimeData

      public boolean getCapRealTimeData() throws jpos.JposException
      Specified by:
      getCapRealTimeData in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCapWriteTag

      public int getCapWriteTag() throws jpos.JposException
      Specified by:
      getCapWriteTag in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getContinuousReadMode

      public boolean getContinuousReadMode() throws jpos.JposException
      Specified by:
      getContinuousReadMode in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCurrentTagID

      public byte[] getCurrentTagID() throws jpos.JposException
      Specified by:
      getCurrentTagID in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCurrentTagProtocol

      public int getCurrentTagProtocol() throws jpos.JposException
      Specified by:
      getCurrentTagProtocol in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getCurrentTagUserData

      public byte[] getCurrentTagUserData() throws jpos.JposException
      Specified by:
      getCurrentTagUserData in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getProtocolMask

      public int getProtocolMask() throws jpos.JposException
      Specified by:
      getProtocolMask in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getReadTimerInterval

      public int getReadTimerInterval() throws jpos.JposException
      Specified by:
      getReadTimerInterval in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • getTagCount

      public int getTagCount() throws jpos.JposException
      Specified by:
      getTagCount in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • setProtocolMask

      public void setProtocolMask(int mask) throws jpos.JposException
      Specified by:
      setProtocolMask in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • setReadTimerInterval

      public void setReadTimerInterval(int interval) throws jpos.JposException
      Specified by:
      setReadTimerInterval in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • setCurrentTagData

      public void setCurrentTagData(int index) throws jpos.JposException
      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.
      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:
      firstTag in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • nextTag

      public void nextTag() throws jpos.JposException
      Specified by:
      nextTag in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • previousTag

      public void previousTag() throws jpos.JposException
      Specified by:
      previousTag in interface jpos.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:
      startReadTags in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • stopReadTags

      public void stopReadTags(byte[] password) throws jpos.JposException
      Specified by:
      stopReadTags in interface jpos.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:
      readTags in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • disableTag

      public void disableTag(byte[] tagID, int timeout, byte[] password) throws jpos.JposException
      Specified by:
      disableTag in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • lockTag

      public void lockTag(byte[] tagID, int timeout, byte[] password) throws jpos.JposException
      Specified by:
      lockTag in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • writeTagData

      public void writeTagData(byte[] tagID, byte[] userdata, int start, int timeout, byte[] password) throws jpos.JposException
      Specified by:
      writeTagData in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException
    • writeTagID

      public void writeTagID(byte[] sourceID, byte[] destID, int timeout, byte[] password) throws jpos.JposException
      Specified by:
      writeTagID in interface jpos.services.RFIDScannerService112
      Throws:
      jpos.JposException