view src/main/java/alice/test/topology/aquarium/fx/StartAquariumFX.java @ 375:e58f5f74748e multicast

create foundation
author sugi
date Wed, 04 Jun 2014 00:24:07 +0900
parents
children
line wrap: on
line source

package alice.test.topology.aquarium.fx;

import alice.topology.node.TopologyNode;
import alice.topology.node.TopologyNodeConfig;

public class StartAquariumFX {
	public static void main(String args[]){
		TopologyNodeConfig conf = new TopologyNodeConfig(args);
		if (conf.getManagerHostName() !=null){
			new TopologyNode(conf, new StartCodeSegment());
		} else {
			StartCodeSegment cs = new StartCodeSegment();
			cs.ods.put("host", "local0");
			cs.execute();
		}
	}

}