changeset 272:4c74418eaf96

refactor
author sugi
date Sun, 25 Aug 2013 15:06:43 +0900
parents 3667ab045530
children d136c65d8904
files src/alice/topology/manager/StartTopologyManager.java src/alice/topology/manager/TopologyFinish.java
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/alice/topology/manager/StartTopologyManager.java	Sat Aug 24 18:17:42 2013 +0900
+++ b/src/alice/topology/manager/StartTopologyManager.java	Sun Aug 25 15:06:43 2013 +0900
@@ -83,9 +83,9 @@
 		IncomingHosts cs1 = new IncomingHosts(topology, nodeNames);
 		cs1.host.setKey("local", "host");
 		cs1.connection.setKey("local", "connection");
-		
-		TopologyFinish cs2 = new TopologyFinish();
-		cs2.finish.setKey("local", "finish");
+
+		//TopologyFinish cs2 = new TopologyFinish();
+		//cs2.finish.setKey("local", "finish");
 		
 		ConfigWaiter cs3 = new ConfigWaiter(nodeNum);
 		cs3.done.setKey("local", "done");
--- a/src/alice/topology/manager/TopologyFinish.java	Sat Aug 24 18:17:42 2013 +0900
+++ b/src/alice/topology/manager/TopologyFinish.java	Sun Aug 25 15:06:43 2013 +0900
@@ -8,8 +8,7 @@
 	public Receiver finish = ids.create(CommandType.TAKE);
 	@Override
 	public void run() {
-		//System.exit(0);
-		System.out.println("finish");
+		System.exit(0);
 	}
 
 }