Class LnPacketizer.RcvHandler

java.lang.Object
jmri.jmrix.loconet.LnPacketizer.RcvHandler
All Implemented Interfaces:
Runnable
Enclosing class:
LnPacketizer

protected class LnPacketizer.RcvHandler extends Object implements Runnable
Captive class to handle incoming characters. This is a permanent loop, looking for input messages in character form on the stream connected to the LnPortController via connectPort.
  • Field Details

  • Constructor Details

  • Method Details

    • run

      public void run()
      Handle incoming characters. This is a permanent loop, looking for input messages in character form on the stream connected to the LnPortController via connectPort. Terminates with the input stream breaking out of the try block.
      Specified by:
      run in interface Runnable