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

implements RingTopology
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Tue, 17 Jan 2012 16:13:03 +0900
parents
children 2bfb796b0fa1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/alice/topology/manager/TopologyFinish.java	Tue Jan 17 16:13:03 2012 +0900
@@ -0,0 +1,14 @@
+package alice.topology.manager;
+
+import alice.codesegment.CodeSegment;
+import alice.datasegment.CommandType;
+import alice.datasegment.DataSegmentReceiver;
+
+public class TopologyFinish extends CodeSegment {
+	public DataSegmentReceiver finish = new DataSegmentReceiver(ids, CommandType.TAKE);
+	@Override
+	public void run() {
+		System.exit(0);
+	}
+
+}