Class Dcc4PcTrafficController

java.lang.Object
jmri.jmrix.AbstractMRTrafficController
jmri.jmrix.dcc4pc.Dcc4PcTrafficController
All Implemented Interfaces:
Dcc4PcInterface

public class Dcc4PcTrafficController
extends AbstractMRTrafficController
implements Dcc4PcInterface
Converts Stream-based I/O to/from DCC4PC messages. The "Dcc4PcInterface" side sends/receives message objects.

The connection to a Dcc4PcPortController 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.