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

Send DecodeInfo to Children Nodes. but occur ArrayIndexOutOfBoundsException.
author YU
date Sat, 13 Sep 2014 20:55:48 +0900
parents a73b8a20e233
children 15398aebb0ef
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", "local0");
            cs.execute();
        }
    }

}