Mercurial > hg > Members > tatsuki > Alice
changeset 130:1b142e37375f working
delete not used file form share test
author | sugi |
---|---|
date | Mon, 06 Aug 2012 18:05:51 +0900 |
parents | b93a1c0a4dc7 |
children | 2b991e8b7fc0 |
files | src/alice/test/topology/share/Client.java src/alice/test/topology/share/Increment.java src/alice/test/topology/share/Node.java src/alice/test/topology/share/RelayPoint.java |
diffstat | 4 files changed, 0 insertions(+), 84 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/test/topology/share/Client.java Mon Aug 06 17:39:14 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -package alice.test.topology.share; - -import alice.codesegment.CodeSegment; -import alice.datasegment.CommandType; -import alice.datasegment.Receiver; - -public class Client extends CodeSegment { - Receiver host = ids.create(CommandType.PEEK); - - public Client(){ - host.setKey("local","others"); - } - - @Override - public void run(){ - System.out.println(host.asString()); - ods.update("local", "fish", 0); - new RelayPoint("fish"); - } -}
--- a/src/alice/test/topology/share/Increment.java Mon Aug 06 17:39:14 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -package alice.test.topology.share; - -import alice.codesegment.CodeSegment; -import alice.datasegment.CommandType; -import alice.datasegment.Receiver; - -public class Increment extends CodeSegment { - Receiver nowX = ids.create(CommandType.PEEK); - - public Increment(){ - nowX.setKey("local","fish",this.nowX.index); - } - - @Override - public void run(){ - System.out.println("value "+this.nowX.asInteger()); - new Increment(); - ods.update("local", "fish", this.nowX.asInteger()+1); - - } -}
--- a/src/alice/test/topology/share/Node.java Mon Aug 06 17:39:14 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -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); - } -}
--- a/src/alice/test/topology/share/RelayPoint.java Mon Aug 06 17:39:14 2012 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -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); - } - - @Override - public void run() { - System.out.println("run RelayPoint"); - new CheckLocalIndex(this.key,0); - new CheckParentIndex(this.key,0); - } - -}