Mercurial > hg > Database > Alice
view src/alice/test/topology/share/Node.java @ 96:a5fce70380e8 working
add share test
author | sugi |
---|---|
date | Tue, 19 Jun 2012 17:52:01 +0900 |
parents | |
children |
line wrap: on
line source
package alice.test.topology.share; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class Node extends CodeSegment { Receiver host = ids.create(CommandType.PEEK); public Node(){ host.setKey("local","node0"); } @Override public void run(){ new Increment(); ods.update("local", "fish", 0); } }