view src/alice/jungle/remote/RemoteConfig.java @ 48:ab8c655ef457

implemented bbsPort setting
author one
date Fri, 12 Jul 2013 11:54:07 +0900
parents 4419ac56cbfd
children
line wrap: on
line source

package alice.jungle.remote;
import alice.topology.node.TopologyNodeConfig;


public class RemoteConfig  extends TopologyNodeConfig {
	
	public int bbsPort = 8080;
	
	public RemoteConfig(String[] args) {
		super(args);
		for (int i = 0; i< args.length; i++) {
			if ("-bbsPort".equals(args[i])) {
				bbsPort = Integer.parseInt(args[++i]);
			} else if("-bp".equals(args[i])) {
				bbsPort = Integer.parseInt(args[++i]);
			}
		}
	}
}