Mercurial > hg > Members > tatsuki > Alice
view src/alice/test/codesegment/StartCodeSegment.java @ 12:c4d6ff56b9bf
unite Command and Reply
and add Network outline
author | one |
---|---|
date | Fri, 13 Jan 2012 07:04:38 +0900 |
parents | 2ea5acb0ed16 |
children | 72dd27d952b0 |
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 StartCodeSegment extends CodeSegment { @Override public void run() { System.out.println("run StartCodeSegment"); CodeSegment cs = new TestCodeSegment(); cs.ids.peek("arg1", "local", "key1"); cs.ids.execute(); System.out.println("create TestCodeSegment"); Value val = ValueFactory.createRawValue("String data"); ods.update("local", "key1", val); } }