Class EX10RfidAdapter

java.lang.Object
com.tccc.kos.core.service.spawn.SpawnProcess
com.tccc.kos.core.service.spawn.Adapter
com.tccc.kos.ext.freestyle.hardware.rfid.adapters.EX10RfidAdapter

public class EX10RfidAdapter extends com.tccc.kos.core.service.spawn.Adapter
Adapter for the EX10 rfid adapter on the Flex board. This is a SPI based device which is not autodetected using standard udev infrastructure. When using the flex board with this rfid reader, create an instance of this adapter and call SpawnService.addProcess(adapter) to start the adapter.
Version:
2024-07-28
  • Field Summary

    Fields inherited from class com.tccc.kos.core.service.spawn.SpawnProcess

    MAX_ARG_LEN, MAX_ARGS, MAX_PATH_LEN, MAX_PRIORITY, MAX_USER_GROUP_LEN, MIN_PRIORITY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create an instance of the EX10 rfid adapter using the standard location of the adapter binary.
    Create an instance of the EX10 rfid adapter using an alternate base directory to locate the adapter binary.
  • Method Summary

    Methods inherited from class com.tccc.kos.core.service.spawn.Adapter

    setBasePath, setBasePath, setPath, setPath, setWorkingDir, setWorkingDir

    Methods inherited from class com.tccc.kos.core.service.spawn.SpawnProcess

    addArg, getArgs, getGroup, getLogFile, getNodeId, getPath, getPid, getPriority, getUser, getWorkingDir, setGroup, setLogFile, setPriority, setUser, toString, waitForStart

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • EX10RfidAdapter

      public EX10RfidAdapter()
      Create an instance of the EX10 rfid adapter using the standard location of the adapter binary.
    • EX10RfidAdapter

      public EX10RfidAdapter(File baseDir)
      Create an instance of the EX10 rfid adapter using an alternate base directory to locate the adapter binary.
      Parameters:
      baseDir - directory that contains the adapter binary