From ed847e95ab009b3f8a7b57636aa3bbe977bf875d Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Mon, 19 Oct 2009 07:56:29 +0000
Subject: [PATCH] Fix #4270 ECL Should not establish connections between RSes

---
 opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java b/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java
index 6ce4627..91015f3 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationServerHandler.java
@@ -638,7 +638,7 @@
    *
    * @param topoMsg The received topology message
    */
-  public void receiveTopoInfoFromRS(TopologyMsg topoMsg)
+  public void processTopoInfoFromRS(TopologyMsg topoMsg)
   {
     // Store info for remote RS
     List<RSInfo> rsInfos = topoMsg.getRsList();
@@ -836,4 +836,16 @@
     session.publish(msg);
   }
 
+  /**
+   * Receives a topology msg.
+   * @param topoMsg The message received.
+   * @throws DirectoryException when it occurs.
+   * @throws IOException when it occurs.
+   */
+  public void receiveTopoInfoFromRS(TopologyMsg topoMsg)
+  throws DirectoryException, IOException
+  {
+    if (replicationServerDomain != null)
+      replicationServerDomain.receiveTopoInfoFromRS(topoMsg, this, true);
+  }
 }

--
Gitblit v1.10.0