Debug.println(Debug.MEDIUM, this + ": sending " + msg);
Debug.println(Debug.MEDIUM, "Uplink: sending " + msg);
  public synchronized void sendMsg(Command msg) throws java.io.IOException {    Debug.println(Debug.MEDIUM, this + ": sending " + msg);    objectOutputStream.writeObject(msg);    objectOutputStream.flush();  }