public void println(String msg) {
    if ((ow == null) && (entry != null)) {
      this.ow = (share.Watcher) entry.UserDefinedParams.get("Watcher");
      if (this.ow != null) {
        this.ow.ping();
      }
    } else {
      if (ow != null) {
        this.ow.ping();
      } else {
        // special case: ow == null && entry == null
        System.out.println(msg);
      }
    }

    if (m_bLogging) {
      super.println("LOG> " + msg);
      super.flush();
    }
  }
 public void setWatcher(Object watcher) {
   if (watcher != null) {
     entry.UserDefinedParams.put("Watcher", watcher);
   }
 }