view src/alice/daemon/Config.java @ 12:c4d6ff56b9bf

unite Command and Reply and add Network outline
author one
date Fri, 13 Jan 2012 07:04:38 +0900
parents
children e3f1b21718b0
line wrap: on
line source

package alice.daemon;

public class Config {

	public int port = 10000;

	public Config(String[] args) {
		for (int i = 0; i< args.length; i++) {
			if ("-p".equals(args[i])) {
				port = Integer.parseInt(args[++i]);
			}
		}
	}

}