diff src/alice/test/codesegment/RemoteStartCodeSegment.java @ 18:72dd27d952b0

change InputDataSegment API
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Sun, 15 Jan 2012 16:03:11 +0900
parents e3f1b21718b0
children e7867328a2fb
line wrap: on
line diff
--- a/src/alice/test/codesegment/RemoteStartCodeSegment.java	Sun Jan 15 15:18:01 2012 +0900
+++ b/src/alice/test/codesegment/RemoteStartCodeSegment.java	Sun Jan 15 16:03:11 2012 +0900
@@ -6,11 +6,11 @@
 import alice.codesegment.CodeSegment;
 
 public class RemoteStartCodeSegment extends CodeSegment {
-
+	
 	@Override
 	public void run() {
-		CodeSegment cs = new RemoteIncrement();
-		cs.ids.take("num", "remote", "num");
+		RemoteIncrement cs = new RemoteIncrement();
+		cs.num.setKey("remote", "num");
 		cs.ids.execute();
 		
 		Value num = ValueFactory.createIntegerValue(0);