Mercurial > hg > Database > jungle-network
comparison src/jungle/test/bbs/NetworkJungleBulletinBoard.java @ 50:459b50f1a6ee
add ChildLogCheckCodeSegment.
author | one |
---|---|
date | Fri, 12 Jul 2013 20:39:02 +0900 |
parents | a89c3539bff2 |
children | 9e782b4eb06e |
comparison
equal
deleted
inserted
replaced
49:a89c3539bff2 | 50:459b50f1a6ee |
---|---|
234 container.setUpdaterName(_updaterName); | 234 container.setUpdaterName(_updaterName); |
235 container.setRevision(nextRevision); | 235 container.setRevision(nextRevision); |
236 container.unconvert(_log); | 236 container.unconvert(_log); |
237 NullCodeSegmentForUpdate cs = new NullCodeSegmentForUpdate(); | 237 NullCodeSegmentForUpdate cs = new NullCodeSegmentForUpdate(); |
238 cs.ods.put("log", container); | 238 cs.ods.put("log", container); |
239 /* If this node isn't Root node, push log to parent node's DS */ | |
240 if(!_updaterName.equals("node0")) { | |
241 cs.ods.put("parent", "childLog"); | |
242 } | |
239 } | 243 } |
240 | 244 |
241 | 245 |
242 private static class BoardMessageImpl implements BoardMessage | 246 private static class BoardMessageImpl implements BoardMessage |
243 { | 247 { |