/**
  * Receives a message from a COM port, processes it and outputs the formatted result to the given
  * COM Port Client window.
  *
  * @param aMessage The received message from the COM port
  * @param cpcParent The parent window to which the formatted output will be sent
  */
 public MsgFormatter(String aMessage, COMPortClient cpcParent) {
   log = LoggerFactory.getLogger(className);
   parent = cpcParent;
   originatingPort = parent.getPortName();
   incomingMessage = aMessage;
   formattedMessage = new Object[6];
   formatMessage();
 }