Mercurial > hg > Database > Alice
view src/main/java/alice/test/topology/fish/SendWidth.java @ 655:1c93e82e05c6 default tip
fix timestamp
author | suruga |
---|---|
date | Sat, 17 Feb 2018 00:33:00 +0900 |
parents | aefbe41fcf12 |
children | e91a574b69de 767d93626b88 |
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("width", this.width.index); } }