Mercurial > hg > Database > Alice
diff src/alice/test/topology/movement/CheckMyName.java @ 88:33a19ca88e43 working
Singleton is removed .
author | sugi |
---|---|
date | Mon, 04 Jun 2012 16:08:53 +0900 |
parents | 899b2b78ac75 |
children | e269cedd8bae |
line wrap: on
line diff
--- a/src/alice/test/topology/movement/CheckMyName.java Sun Jun 03 18:56:24 2012 +0900 +++ b/src/alice/test/topology/movement/CheckMyName.java Mon Jun 04 16:08:53 2012 +0900 @@ -23,17 +23,16 @@ if (type.equals("cli")){ System.out.println("cli"+cliNum); - - FishMovement.getInstance(); - - SendLocation cs = new SendLocation(); - cs.nowX.setKey("parent","fishX"); + MakeFrame frame = new MakeFrame(); + MakeObject obj = null; + checkLocation cs = new checkLocation(frame,obj); cs.host.setKey("local","host"); - + cs.nowX.setKey("parent","fish1X"); + }else if(type.equals("node")){ System.out.println("node0"); - ods.update("local", "fishX", -1000); + ods.update("local", "fish1X", -1000); } }