Mercurial > hg > FederatedLinda
comparison src/fdl/old/test/metaTransfer/Ring/FDLServWithSend.java @ 114:3b877c9a44f5
gather old packages
author | kazz |
---|---|
date | Mon, 11 Oct 2010 14:29:37 +0900 |
parents | src/fdl/test/metaTransfer/Ring/FDLServWithSend.java@0ea086f0e96f |
children |
comparison
equal
deleted
inserted
replaced
113:4205d029584c | 114:3b877c9a44f5 |
---|---|
1 package fdl.old.test.metaTransfer.Ring; | |
2 | |
3 import java.io.IOException; | |
4 | |
5 import fdl.FDLindaServ; | |
6 import fdl.MetaLinda; | |
7 | |
8 public class FDLServWithSend extends FDLindaServ { | |
9 int port1; | |
10 public FDLServWithSend(int port,int port1) throws IOException { | |
11 super(port); | |
12 this.port1 = port1; | |
13 } | |
14 | |
15 @Override public void mainLoop() { | |
16 System.out.println("change mainloop"); | |
17 MetaLinda ml = new MetaLinda(this.tupleSpace,this); | |
18 MetaProtocolEngine mpe = new MetaProtocolEngine(ml,"MetaEngine", port1, port1); | |
19 mpe.mainLoop(ml); | |
20 } | |
21 | |
22 } |