40
|
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 }
|