Mercurial > hg > Members > tatsuki > Alice
diff src/main/java/alice/test/topology/aquarium/fx/SendDataOthers.java @ 384:56d4f93a3921 multicast
add RegisterList
author | sugi |
---|---|
date | Wed, 11 Jun 2014 15:49:59 +0900 |
parents | 878d397904da |
children |
line wrap: on
line diff
--- a/src/main/java/alice/test/topology/aquarium/fx/SendDataOthers.java Tue Jun 10 19:36:46 2014 +0900 +++ b/src/main/java/alice/test/topology/aquarium/fx/SendDataOthers.java Wed Jun 11 15:49:59 2014 +0900 @@ -7,6 +7,7 @@ import alice.datasegment.Receiver; public class SendDataOthers extends CodeSegment { + // this CodeSegment is bad. private Receiver info = ids.create(CommandType.PEEK); private Receiver info1; // should use dataSegment @@ -20,11 +21,9 @@ @Override public void run() { - System.out.println(key); @SuppressWarnings("unchecked") List<String> nodes = info.asClass(List.class); for (String node : nodes) { - System.out.println(node); if (!info1.from.equals(node)) ods.put(node, key, info1.getVal()); }