Class EasyDccTrafficController

java.lang.Object
jmri.jmrix.AbstractMRTrafficController
jmri.jmrix.easydcc.EasyDccTrafficController
All Implemented Interfaces:
EasyDccInterface
Direct Known Subclasses:
EasyDccSimulatorTrafficController

public class EasyDccTrafficController
extends AbstractMRTrafficController
implements EasyDccInterface
Converts Stream-based I/O to/from EasyDcc messages. The "EasyDccInterface" side sends/receives message objects.

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

Migrated for multiple connections, multi char connection prefix and Simulator.