Mercurial > hg > Members > nobuyasu > jungle-network
view src/jungle/test/bbs/codesegment/PutAnotherLogCodeSegment.java @ 50:459b50f1a6ee
add ChildLogCheckCodeSegment.
author | one |
---|---|
date | Fri, 12 Jul 2013 20:39:02 +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"); } }