view src/alice/jungle/remote/RemoteConfig.java @ 103:1a5384cd1da4

Version up to 0.2
author one
date Mon, 25 Nov 2013 18:11:17 +0900
parents ab8c655ef457
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]);
			}
		}
	}
}