Mercurial > hg > Database > Alice
view 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 source
package alice.test.codesegment; import org.msgpack.type.Value; import org.msgpack.type.ValueFactory; import alice.codesegment.CodeSegment; public class RemoteStartCodeSegment extends CodeSegment { @Override public void run() { RemoteIncrement cs = new RemoteIncrement(); cs.num.setKey("remote", "num"); cs.ids.execute(); Value num = ValueFactory.createIntegerValue(0); ods.put("local", "num", num); } }