Class SprogTrafficController

  • All Implemented Interfaces:
    java.lang.Runnable, SprogInterface

    public class SprogTrafficController
    extends java.lang.Object
    implements SprogInterface, java.lang.Runnable
    Converts Stream-based I/O to/from Sprog messages. The "SprogInterface" side sends/receives message objects. The connection to a SprogPortController is via a pair of *Streams, which then carry sequences of characters for transmission. Note that this processing is handled in an independent thread.

    Rewritten during 4.11.x series. Create a high priority thread for the tc to move everything off the swing thread. Use a blocking queue to handle asynchronous messages from multiple sources.