view src/fdl/test/metaTransfer/FDLServWithSend.java @ 66:82a292aa41ad

fix
author one
date Sat, 06 Jun 2009 14:23:02 +0900
parents cc860e8beb8f
children 0ea086f0e96f
line wrap: on
line source

package fdl.test.metaTransfer;

import java.io.IOException;

import fdl.FDLindaServ;
import fdl.MetaLinda;


public class FDLServWithSend extends FDLindaServ {
	int port1;
	public FDLServWithSend(int port,int port1) throws IOException {
		super(port);
		this.port1 = port1;
	}

	@Override public void mainLoop() {
		System.out.println("change mainloop");
		MetaLinda ml = new MetaLinda(tupleSpace, this);
		MetaProtocolEngine mpe = new MetaProtocolEngine(ml,"MetaEngine", port1);
		mpe.mainLoop();
	}

}