view src/fdl/test/transfer/two/Server.java @ 66:82a292aa41ad

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

package fdl.test.transfer.two;

import fdl.FDLindaServ;

public class Server extends Thread {
	int port;
	private String name;

	public Server(String string, int i) {
		port = i;
		name = string;
	}

	public void run(){
		String[] args = {"-p",Integer.toString(port)};
		System.out.println(name);
		FDLindaServ.main(args);
	}

}