Class SerialTrafficController

java.lang.Object
jmri.jmrix.AbstractMRTrafficController
jmri.jmrix.powerline.SerialTrafficController
All Implemented Interfaces:
SerialInterface
Direct Known Subclasses:
SpecificTrafficController, SpecificTrafficController, SpecificTrafficController, SpecificTrafficController

public abstract class SerialTrafficController
extends AbstractMRTrafficController
implements SerialInterface
Converts Stream-based I/O to/from messages. The "SerialInterface" side sends/receives message objects.

The connection to a SerialPortController is via a pair of *Streams, which then carry sequences of characters for transmission. Note that this processing is handled in an independent thread.

This maintains a list of nodes, but doesn't currently do anything with it.

This implementation is complete and can be instantiated, but is not functional. It will be created e.g. when a default object is needed for configuring nodes, etc, during the initial configuration. A subclass must be instantiated to actually communicate with an adapter.