Class SRCPTrafficController

  • All Implemented Interfaces:
    SRCPInterface

    public class SRCPTrafficController
    extends AbstractMRTrafficController
    implements SRCPInterface
    Converts Stream-based I/O to/from SRCP messages. The "SRCPInterface" side sends/receives message objects.

    The connection to a SRCPPortController is via a pair of *Streams, which then carry sequences of characters for transmission. Note that this processing is handled in an independent thread, which we need to clean up in tests.

    This handles the state transitions, based on the necessary state in each message.