Mercurial > hg > Applications > AliceVNC
annotate src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java @ 38:08a14d094d02
add debug option
author | sugi |
---|---|
date | Mon, 08 Dec 2014 16:00:27 +0900 |
parents | e6e5b45c921d |
children | 47d6f7a76b86 |
rev | line source |
---|---|
0 | 1 package jp.ac.u_ryukyu.alicevnc; |
2 | |
5
c05d3b89b446
Send DecodeInfo to Children Nodes. but occur ArrayIndexOutOfBoundsException.
YU
parents:
1
diff
changeset
|
3 import java.util.ArrayList; |
c05d3b89b446
Send DecodeInfo to Children Nodes. but occur ArrayIndexOutOfBoundsException.
YU
parents:
1
diff
changeset
|
4 |
1 | 5 import alice.topology.node.TopologyNode; |
0 | 6 |
7 public class StartAliceVNC { | |
8 public static void main(String args[]){ | |
1 | 9 AliceVNCConfig conf = new AliceVNCConfig(args); |
10 AliceVNC cs = new AliceVNC(conf); | |
38 | 11 if (conf.debugMode()) { |
5
c05d3b89b446
Send DecodeInfo to Children Nodes. but occur ArrayIndexOutOfBoundsException.
YU
parents:
1
diff
changeset
|
12 cs.ods.put("_CLIST", new ArrayList<String>()); |
20 | 13 cs.ods.put("host", "node0"); |
1 | 14 cs.execute(); |
38 | 15 return; |
1 | 16 } |
38 | 17 |
18 if (conf.getManagerHostName() ==null){ | |
19 conf.setManagerHostName("firefly.cr.ie.u-ryukyu.ac.jp"); | |
20 } | |
21 | |
22 new TopologyNode(conf, cs); | |
0 | 23 } |
24 | |
25 } |