diff src/main/java/alice/topology/fix/FixTopology.java @ 502:7d83a188a4f7 dispose

bug fix keepAlive
author sugi
date Wed, 17 Dec 2014 20:48:34 +0900
parents 5adb0f530e3d
children 80e461aa10e9
line wrap: on
line diff
--- a/src/main/java/alice/topology/fix/FixTopology.java	Tue Dec 16 16:03:15 2014 +0900
+++ b/src/main/java/alice/topology/fix/FixTopology.java	Wed Dec 17 20:48:34 2014 +0900
@@ -65,9 +65,9 @@
             if (!lastJoinNodeName.equals(lostNodeName)) {
                 if (!lostNodeName.equals(parentNode.remoteAbsName)) {
                     // send close message to lastJoinedNode
-                    ods.put(lastJoinNodeName, "_CLOSEMESSEAGE", parentNode.reverseName);
+                    ods.put(lastJoinNodeName, "_CLOSEMESSEAGE", parentNode.connectionName);
                     // send close message to lastJoinedNode's parent
-                    ods.put(parentNode.absName, "_CLOSEMESSEAGE", parentNode.connectionName);
+                    ods.put(parentNode.absName, "_CLOSEMESSEAGE", parentNode.reverseName);
                 }
 
                 HostMessage lastJoinNode = nameTable.get(lastJoinNodeName);