view src/main/java/alice/jungle/remote/RemoteConfig.java @ 195:82698be06c6c default tip

change index TreeMap
author tatsuki
date Tue, 28 Apr 2015 07:51:41 +0900
parents cd4d64249931
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]);
			}
		}
	}

}