Mercurial > hg > Database > Alice
view src/main/java/alice/test/topology/share/SendData.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.share; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class SendData extends CodeSegment{ private Receiver data = ids.create(CommandType.PEEK); public SendData(int index){ this.data.setKey("data", index); } @Override public void run(){ new SendData(this.data.index); ods.put("parent", "data", this.data.getVal()); } }