Mercurial > hg > Database > jungle-network
view src/jungle/test/bbs/codesegment/PutHostLogCodeSegment.java @ 40:7e94de2d6bc0
add PutAnotherLogCodeSegment, PutHostLogCodeSegment
author | one |
---|---|
date | Tue, 09 Jul 2013 17:32:06 +0900 |
parents | |
children | b8b9668da13c |
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; public class PutHostLogCodeSegment extends CodeSegment { public Receiver arg1 = ids.create(CommandType.TAKE); public void run() { Value v = (Value) arg1.getVal(); ods.put("remote", "hostLog", v); PutHostLogCodeSegment cs = new PutHostLogCodeSegment(); cs.arg1.setKey("local", "log"); } }