Class LnSensorManager.LnSensorUpdateThread

java.lang.Object
java.lang.Thread
jmri.jmrix.loconet.LnSensorManager.LnSensorUpdateThread
All Implemented Interfaces:
Runnable
Enclosing class:
LnSensorManager

class LnSensorManager.LnSensorUpdateThread
extends Thread
Class providing a thread to query LocoNet Sensor and Turnout states.
  • Constructor Details

  • Method Details

    • run

      public void run()
      Runs the thread - sends 8 commands to query status of all stationary sensors (per LocoNet PE Specs, page 12-13). Timing between query messages is determined by certain previous LocoNet traffic (as noted by lastSensTurnInterrog) and restingTime.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread