diff src/main/java/alice/topology/manager/StartTopologyManager.java @ 403:539b7f5772c7 dispose

manager in extendTopology mode have parent Information at each node
author sugi
date Mon, 23 Jun 2014 15:53:33 +0900
parents ca2947303438
children fee3efd9257d
line wrap: on
line diff
--- a/src/main/java/alice/topology/manager/StartTopologyManager.java	Mon Jun 23 14:02:36 2014 +0900
+++ b/src/main/java/alice/topology/manager/StartTopologyManager.java	Mon Jun 23 15:53:33 2014 +0900
@@ -10,6 +10,7 @@
 import org.apache.log4j.Logger;
 
 import alice.codesegment.CodeSegment;
+import alice.topology.HostMessage;
 
 import com.alexmerz.graphviz.ParseException;
 import com.alexmerz.graphviz.Parser;
@@ -82,7 +83,10 @@
 			cs3.done.setKey("local", "done");
 		} else {
 			System.out.println("mode -t");
+			ArrayList<HostMessage> parentList = new ArrayList<HostMessage>();
+			parentList.add(new HostMessage());
 			int cominghostCount = 0;
+			ods.put("parentList", parentList);
 			ods.put("hostCount", cominghostCount);
 			new ComingServiceHosts();
 		}