Class EasyDccSimulatorTrafficController

java.lang.Object
jmri.jmrix.AbstractMRTrafficController
jmri.jmrix.easydcc.EasyDccTrafficController
jmri.jmrix.easydcc.simulator.EasyDccSimulatorTrafficController
All Implemented Interfaces:
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.