Mercurial > hg > Database > jungle-network
view src/jungle/test/bbs/codesegment/PutAnotherLogCodeSegment.java @ 57:1bfd13f831ea
add position field in DefaultTreeOperationLogContainer
author | one |
---|---|
date | Sun, 14 Jul 2013 21:46:40 +0900 |
parents | 4419ac56cbfd |
children |
line wrap: on
line source
package jungle.test.bbs.codesegment; import org.msgpack.type.Value; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; import alice.jungle.codesegment.LogUpdateCodeSegment; public class PutAnotherLogCodeSegment extends CodeSegment { public Receiver arg1 = ids.create(CommandType.TAKE); public void run() { System.out.println("Client: PutAnotherLogCodeSegment"); Value v = (Value)arg1.getVal(); ods.put("remote", "anotherLog", v); PutAnotherLogCodeSegment cs = new PutAnotherLogCodeSegment(); cs.arg1.setKey("local", "log"); } }