/** Set ready for use */
  public void setReadyForUse(boolean readyForUse) {

    System.out.println("Ready for use = " + readyForUse);
    this.readyForUse = readyForUse;
    if (readyForUse) {
      remote.init();
    }
  }
  /**
   * Get a message from remote.
   *
   * <pre>
   *    <method name>;<argument>
   * </pre>
   *
   * Split the method name and call PM_RemoteAccess's invoke.
   */
  private String getMessage(String message) {
    //	System.out.println("..........  getMessage: >" + message + "<");
    String[] sa = message.split(";", 2);
    if (sa.length < 2) {
      String error = "ERROR: delimeter ';' not found: message from remote: " + message;
      System.out.println(error);
      return error;
    }

    String ret = remote.invoke(sa[0], sa[1]);

    if (ret == null) {
      String error = "ERROR: unknown method name '" + sa[0] + "'";
      System.out.println(error);
      return error;
    }
    return ret;
  }