Class NoFeedbackTurnoutOperator

java.lang.Object
java.lang.Thread
jmri.TurnoutOperator
jmri.implementation.NoFeedbackTurnoutOperator
All Implemented Interfaces:
Runnable

Concrete subclass of TurnoutOperator for a turnout that has no feedback.
  • Field Details

  • Constructor Details

  • Method Details

    • run

      public void run()
      Do the automation for a turnout with no feedback. This means try maxTries times at an interval of interval. Note the call to operatorCheck each time we're about to actually do something - if we're no longer the current operator this throws TurnoutOperatorException which just terminates the thread.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread