Mercurial > hg > Database > Alice
view src/alice/test/topology/share/RelayPoint.java @ 96:a5fce70380e8 working
add share test
author | sugi |
---|---|
date | Tue, 19 Jun 2012 17:52:01 +0900 |
parents | |
children | df786bf8f036 |
line wrap: on
line source
package alice.test.topology.share; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class RelayPoint extends CodeSegment { Receiver name = ids.create(CommandType.PEEK); String key; public RelayPoint(String key){ this.key = key; this.name.setKey("parent", this.key, this.name.index); System.out.println("setkey"); } @Override public void run() { System.out.println("run RelayPoint"); new CheckLocalIndex(this.key); new CheckParentIndex(this.key); } }