Mercurial > hg > Applications > AliceVNC
view src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java @ 34:aace9df1462e
refactor
author | sugi |
---|---|
date | Thu, 13 Nov 2014 16:09:09 +0900 |
parents | 15398aebb0ef |
children | e6e5b45c921d |
line wrap: on
line source
package jp.ac.u_ryukyu.alicevnc; import java.util.ArrayList; import alice.topology.node.TopologyNode; public class StartAliceVNC { public static void main(String args[]){ AliceVNCConfig conf = new AliceVNCConfig(args); AliceVNC cs = new AliceVNC(conf); if (conf.getManagerHostName() !=null){ new TopologyNode(conf, cs); } else { cs.ods.put("_CLIST", new ArrayList<String>()); cs.ods.put("host", "node0"); cs.execute(); } } }