mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
03.12.2009 9402e599d2d841d3e384780a6270a1e9cc0c839e
opendj-sdk/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
@@ -2005,6 +2005,21 @@
  }
  /**
   * Check if the domain has a connection error.
   * A Connection error happens when the broker could not be created
   * or when the broker could not find any ReplicationServer to connect to.
   *
   * @return true if the domain has a connection error.
   */
  public boolean hasConnectionError()
  {
    if (broker != null)
      return broker.hasConnectionError();
    else
      return true;
  }
  /**
   * Get the name of the replicationServer to which this domain is currently
   * connected.
   *