diff src/main/java/alice/topology/manager/IncomingHosts.java @ 558:0259a8aba18c dispose

add ip to HostMessage.class, delete System.out in ReceiveData, some TopM class change using ip connection
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Sat, 21 Nov 2015 18:23:51 +0900
parents 1a860019b2fe
children
line wrap: on
line diff
--- a/src/main/java/alice/topology/manager/IncomingHosts.java	Fri Nov 20 17:57:55 2015 +0900
+++ b/src/main/java/alice/topology/manager/IncomingHosts.java	Sat Nov 21 18:23:51 2015 +0900
@@ -53,7 +53,7 @@
 
         LinkedList<NodeInfo> nodes = topology.get(nodeName);
         for (NodeInfo nodeInfo : nodes) {
-            HostMessage newHost = new HostMessage(host.name, host.port,
+            HostMessage newHost = new HostMessage(host.name, host.ip, host.port,
                     nodeInfo.connectionName, nodeInfo.reverseName);
             newHost.absName = nodeName;
             newHost.remoteAbsName = nodeInfo.sourceNodeName;