view src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java @ 37:5e20f680d6d0

Merge with 1fa4b7b8d19f3d3c623c152023617b30982fc7f4
author sugi
date Sun, 07 Dec 2014 18:31:36 +0900
parents e6e5b45c921d
children 08a14d094d02
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();
        }
    }

}