Mercurial > hg > Database > jungle-network
comparison src/main/java/app/bbs/codesegment/LogUpdateCodeSegment.java @ 128:48d342e72dd7
Modified to TAKE in LogUpdateCodeSegment
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 11 Jan 2014 08:55:29 +0900 |
parents | 495ac60d7f5f |
children | 00fcb468de27 |
comparison
equal
deleted
inserted
replaced
127:292538b1de32 | 128:48d342e72dd7 |
---|---|
1 package app.bbs.codesegment; | 1 package app.bbs.codesegment; |
2 | |
3 | |
4 | 2 |
5 import java.util.List; | 3 import java.util.List; |
6 | 4 |
7 import alice.codesegment.CodeSegment; | 5 import alice.codesegment.CodeSegment; |
8 import alice.datasegment.CommandType; | 6 import alice.datasegment.CommandType; |
13 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; | 11 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; |
14 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; | 12 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; |
15 | 13 |
16 public class LogUpdateCodeSegment extends CodeSegment { | 14 public class LogUpdateCodeSegment extends CodeSegment { |
17 | 15 |
18 Receiver log = ids.create(CommandType.PEEK); | 16 Receiver log = ids.create(CommandType.TAKE); |
19 Receiver clist = ids.create(CommandType.PEEK); | 17 Receiver clist = ids.create(CommandType.PEEK); |
20 | 18 |
21 public LogUpdateCodeSegment() { | 19 public LogUpdateCodeSegment() { |
22 log.setKey("log"); | 20 log.setKey("log"); |
23 clist.setKey("_CLIST");; | 21 clist.setKey("_CLIST");; |