view src/fdl/old/test/metaTransfer/Ring/FDLServWithSend.java @ 122:ad73eacf560a default tip

remove warning
author e095732
date Thu, 07 Feb 2013 22:32:26 +0900
parents 3b877c9a44f5
children
line wrap: on
line source

package fdl.old.test.metaTransfer.Ring;

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(this.tupleSpace,this);
		MetaProtocolEngine mpe = new MetaProtocolEngine(ml,"MetaEngine", port1, port1);
		mpe.mainLoop(ml);
	}

}