diff src/alice/topology/manager/StartTopologyManager.java @ 30:b5a21baf0b07

implements RingTopology
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Tue, 17 Jan 2012 16:13:03 +0900 (2012-01-17)
parents 98ab26e09a98
children ac3b48c5f4da
line wrap: on
line diff
--- a/src/alice/topology/manager/StartTopologyManager.java	Tue Jan 17 14:17:13 2012 +0900
+++ b/src/alice/topology/manager/StartTopologyManager.java	Tue Jan 17 16:13:03 2012 +0900
@@ -9,14 +9,14 @@
 
 import org.apache.log4j.Logger;
 
+import alice.codesegment.CodeSegment;
+
 import com.alexmerz.graphviz.ParseException;
 import com.alexmerz.graphviz.Parser;
 import com.alexmerz.graphviz.objects.Edge;
 import com.alexmerz.graphviz.objects.Graph;
 import com.alexmerz.graphviz.objects.Node;
 
-import alice.codesegment.CodeSegment;
-
 public class StartTopologyManager extends CodeSegment {
 
 	TopologyManagerConfig conf;
@@ -73,8 +73,11 @@
 			e.printStackTrace();
 		}
 		
-		IncomingHosts cs = new IncomingHosts(topology, nodeNames);
-		cs.host.setKey("local", "host");
+		IncomingHosts cs1 = new IncomingHosts(topology, nodeNames);
+		cs1.host.setKey("local", "host");
+		
+		TopologyFinish cs2 = new TopologyFinish();
+		cs2.finish.setKey("local", "finish");
 	}
 
 }