Class QsiTrafficController

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

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

    Messages to and from the programmer are in a packet format. In both directions, every message starts with 'S' and ends with 'E'. These are handled automatically, and are not included in the QsiMessage and QsiReply content.