Package jmri.jmrix.loconet
Class LnPacketizerStrict.RcvHandlerStrict
- java.lang.Object
-
- jmri.jmrix.loconet.LnPacketizerStrict.RcvHandlerStrict
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- LnPacketizerStrict
protected class LnPacketizerStrict.RcvHandlerStrict extends java.lang.Object implements java.lang.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 viaconnectPort
.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) LnTrafficController
trafficController
Remember the LnPacketizer object.
-
Constructor Summary
Constructors Constructor Description RcvHandlerStrict(LnTrafficController lt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Handle incoming characters.
-
-
-
Field Detail
-
trafficController
LnTrafficController trafficController
Remember the LnPacketizer object.
-
-
Constructor Detail
-
RcvHandlerStrict
public RcvHandlerStrict(LnTrafficController lt)
-
-
Method Detail
-
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 viaconnectPort
. Terminates with the input stream breaking out of the try block.- Specified by:
run
in interfacejava.lang.Runnable
-
-