Class LnPowerManager.LnTrackStatusUpdateThread

java.lang.Object
java.lang.Thread
jmri.jmrix.loconet.LnPowerManager.LnTrackStatusUpdateThread
All Implemented Interfaces:
Runnable
Enclosing class:
LnPowerManager

static class LnPowerManager.LnTrackStatusUpdateThread
extends Thread
Class providing a thread to delay, then query slot 0. The LnPowerManager can use the resulting OPC_SL_RD_DATA message to update its view of the current track status.
  • Constructor Details

  • Method Details

    • run

      public void run()
      Runs the thread - Waits a while (to allow the managers to initialize), then sends a query of slot 0 so that the PowerManager can inspect the "<trk>" byte.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread