Class SerialTrafficController

java.lang.Object
jmri.jmrix.AbstractMRTrafficController
jmri.jmrix.tmcc.SerialTrafficController
All Implemented Interfaces:
SerialInterface

public class SerialTrafficController
extends AbstractMRTrafficController
implements SerialInterface
Convert Stream-based I/O to/from TMCC serial 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 handles the state transitions, based on the necessary state in each message.

Handles initialization, polling, output, and input for multiple Serial Nodes.