comparison src/jungle/test/bbs/codesegment/PutAnotherLogCodeSegment.java @ 40:7e94de2d6bc0

add PutAnotherLogCodeSegment, PutHostLogCodeSegment
author one
date Tue, 09 Jul 2013 17:32:06 +0900
parents
children 4419ac56cbfd
comparison
equal deleted inserted replaced
39:10359a815068 40:7e94de2d6bc0
1 package jungle.test.bbs.codesegment;
2
3 import org.msgpack.type.Value;
4
5 import alice.codesegment.CodeSegment;
6 import alice.datasegment.CommandType;
7 import alice.datasegment.Receiver;
8
9 public class PutAnotherLogCodeSegment extends CodeSegment {
10
11 public Receiver arg1 = ids.create(CommandType.TAKE);
12
13 public void run() {
14 Value v = (Value)arg1.getVal();
15 ods.put("remote", "anotherLog", v);
16 PutAnotherLogCodeSegment cs = new PutAnotherLogCodeSegment();
17 cs.arg1.setKey("local", "log");
18
19 }
20
21 }