Mercurial > hg > Members > tatsuki > Alice
view src/alice/test/topology/fish/SendWidth.java @ 39:3155337e754e
add logger
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 27 Jan 2012 16:57:26 +0900 |
parents | 0b25b48116b6 |
children | b5daccf36104 |
line wrap: on
line source
package alice.test.topology.fish; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class SendWidth extends CodeSegment { Receiver width = ids.create(CommandType.PEEK); @Override public void run() { int width = this.width.asInteger(); ods.put("parent", "widths", width); System.out.println("send widths: " + width); SendWidth cs = new SendWidth(); cs.width.setKey("local", "width", this.width.index); } }