Mercurial > hg > Database > Alice
changeset 117:e78402bb54cb working
minor change
author | sugi |
---|---|
date | Sat, 21 Jul 2012 11:22:20 +0900 |
parents | 248064474909 |
children | 3fcd88d356cb f84e1684c6be |
files | src/alice/test/topology/fishmodel/beta/CheckMyName.java |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/test/topology/fishmodel/beta/CheckMyName.java Sat Jul 21 10:13:51 2012 +0900 +++ b/src/alice/test/topology/fishmodel/beta/CheckMyName.java Sat Jul 21 11:22:20 2012 +0900 @@ -27,6 +27,18 @@ matcher.find(); String type = matcher.group(1); int num = new Integer(matcher.group(2)); + /* + ods.put("local", "myMax", num); + if (type.equals("cli")){ + ods.put("parent", "check", num); + }else if (type.equals("node")){ + if (num !=0){ + ods.put("parent", "check", num); + } else { + + } + } + */ MakeFrame frame = new MakeFrame(name); RoutingTable routing = new RoutingTable();