boolean waitForResponse(long timeout) throws InterruptedException {
    // if (Thread.interrupted()) throw new InterruptedException(); not necessary waitForReplies does
    // this?
    try {
      return processor.waitForReplies(timeout);

    } catch (ReplyException ex) {
      for (Throwable cause = ex.getCause(); cause != null; cause = cause.getCause()) {
        if (cause instanceof RuntimeAdminException) {
          throw (RuntimeAdminException) cause;
        }
      }

      throw new RuntimeAdminException(
          "A ReplyException was thrown while waiting for a reply.",
          ex);
    }
  }
Waits a given number of milliseconds for the reply to this request.

@return Whether or not a reply was received.

@see #getResponse
geode-core/src/main/java/org/apache/geode/internal/admin/remote/AdminRequest.java