Class TamsTrafficController

  • All Implemented Interfaces:
    CommandStation, TamsInterface

    public class TamsTrafficController
    extends AbstractMRTrafficController
    implements TamsInterface, CommandStation
    Converts Stream-based I/O to/from Tams messages. The "TamsInterface" side sends/receives message objects.

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

    Based on work by Bob Jacobsen and Kevin Dickerson With support from Bob Jacobsen for which my thanks