Class Mx1Packetizer

All Implemented Interfaces:
Mx1Interface

public class Mx1Packetizer
extends Mx1TrafficController
Access to Zimo Mx1 messages via stream-based I/O. The "Mx1Interface" * side sends/receives Mx1Message objects. The connection to a Mx1PortController is via a pair of *Streams, which then carry sequences of characters for transmission.

Messages come to this via the main GUI thread, and are forwarded back to listeners in that same thread. Reception and transmission are handled in dedicated threads by RcvHandler and XmtHandler objects. Those are internal classes defined here. The thread priorities are:

  • RcvHandler - at highest available priority
  • XmtHandler - down one, which is assumed to be above the GUI
  • (everything else)