Mercurial > hg > Members > tatsuki > Alice
changeset 261:7e1f6b575b5a
remove no used files
author | sugi |
---|---|
date | Tue, 16 Jul 2013 16:17:31 +0900 |
parents | 68f6e0fa4a89 |
children | ba55adb8a042 |
files | src/alice/test/topology/aquarium/AddRoutingTable.java src/alice/test/topology/aquarium/Routing.java src/alice/test/topology/aquarium/RoutingTable.java |
diffstat | 3 files changed, 0 insertions(+), 54 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/test/topology/aquarium/AddRoutingTable.java Tue Jul 16 16:17:14 2013 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -package alice.test.topology.aquarium; - -import alice.codesegment.CodeSegment; -import alice.datasegment.CommandType; -import alice.datasegment.Receiver; - -public class AddRoutingTable extends CodeSegment { - - public Receiver mail = ids.create(CommandType.PEEK); - private RoutingTable routing; - - public AddRoutingTable(RoutingTable routing,int index){ - this.routing = routing; - this.mail.setKey("member", index); - - } - - @Override - public void run() { - //System.out.println("add "+this.mail.from); - routing.table.add(new Routing(this.mail.from)); - - ods.update("list", this.routing); - new AddRoutingTable(this.routing, this.mail.index); - - } - -}
--- a/src/alice/test/topology/aquarium/Routing.java Tue Jul 16 16:17:14 2013 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -package alice.test.topology.aquarium; - -import org.msgpack.annotation.Message; - -@Message -public class Routing { - - public String name; - public Routing(){} - - public Routing(String name){ - this.name = name; - } -}
--- a/src/alice/test/topology/aquarium/RoutingTable.java Tue Jul 16 16:17:14 2013 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -package alice.test.topology.aquarium; - -import java.util.ArrayList; -import java.util.List; - -import org.msgpack.annotation.Message; - -@Message -public class RoutingTable { - public List<Routing> table = new ArrayList<Routing>(); - -}