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 PutHostLogCodeSegment extends CodeSegment {
|
|
10
|
|
11 public Receiver arg1 = ids.create(CommandType.TAKE);
|
|
12
|
|
13 public void run() {
|
|
14 Value v = (Value) arg1.getVal();
|
41
|
15 ods.put("local", "hostLog", v);
|
40
|
16 PutHostLogCodeSegment cs = new PutHostLogCodeSegment();
|
|
17 cs.arg1.setKey("local", "log");
|
|
18 }
|
|
19 }
|