Mercurial > hg > Database > jungle-network
diff src/jungle/test/bbs/codesegment/StartBBSCodeSegment.java @ 52:61b2de3f7730
add HashSetDataSegment and HashLogUpdateCodeSegment.
fix bugs
author | one |
---|---|
date | Sat, 13 Jul 2013 17:10:14 +0900 |
parents | 459b50f1a6ee |
children | f47a02368099 |
line wrap: on
line diff
--- a/src/jungle/test/bbs/codesegment/StartBBSCodeSegment.java Sat Jul 13 15:59:47 2013 +0900 +++ b/src/jungle/test/bbs/codesegment/StartBBSCodeSegment.java Sat Jul 13 17:10:14 2013 +0900 @@ -22,6 +22,7 @@ import alice.datasegment.CommandType; import alice.datasegment.Receiver; import alice.jungle.codesegment.LogUpdateCodeSegment; +import alice.jungle.datasegment.HashSetDataSegment; public class StartBBSCodeSegment extends CodeSegment { @@ -45,7 +46,8 @@ Matcher matcher = pattern.matcher(name); matcher.find(); String type = matcher.group(1); - + + BulletinBoard cassaBBS = new NetworkJungleBulletinBoard(name); String createBoardMessagePath = "/createBoardMessage"; String createBoardPath = "/createBoard"; @@ -73,6 +75,9 @@ } new ChildLogCheckCodeSegment(); + HashSetDataSegment hashLog = new HashSetDataSegment(); + ods.put("hashLog", hashLog); + int num = new Integer(matcher.group(2)); if (num != 0) { // try {Thread.sleep(100);} catch(Exception e) { e.printStackTrace(); }