annotate src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java @ 36:e6e5b45c921d

set manifest
author sugi
date Sun, 07 Dec 2014 18:30:44 +0900
parents 15398aebb0ef
children 08a14d094d02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9973439e03ad first commit
YU
parents:
diff changeset
1 package jp.ac.u_ryukyu.alicevnc;
9973439e03ad first commit
YU
parents:
diff changeset
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
a73b8a20e233 create another viewer window
one
parents: 0
diff changeset
5 import alice.topology.node.TopologyNode;
0
9973439e03ad first commit
YU
parents:
diff changeset
6
9973439e03ad first commit
YU
parents:
diff changeset
7 public class StartAliceVNC {
9973439e03ad first commit
YU
parents:
diff changeset
8 public static void main(String args[]){
1
a73b8a20e233 create another viewer window
one
parents: 0
diff changeset
9 AliceVNCConfig conf = new AliceVNCConfig(args);
a73b8a20e233 create another viewer window
one
parents: 0
diff changeset
10 AliceVNC cs = new AliceVNC(conf);
36
e6e5b45c921d set manifest
sugi
parents: 20
diff changeset
11 if (conf.getManagerHostName() !=null){
1
a73b8a20e233 create another viewer window
one
parents: 0
diff changeset
12 new TopologyNode(conf, cs);
a73b8a20e233 create another viewer window
one
parents: 0
diff changeset
13 } else {
5
c05d3b89b446 Send DecodeInfo to Children Nodes. but occur ArrayIndexOutOfBoundsException.
YU
parents: 1
diff changeset
14 cs.ods.put("_CLIST", new ArrayList<String>());
20
15398aebb0ef refactor
sugi
parents: 5
diff changeset
15 cs.ods.put("host", "node0");
1
a73b8a20e233 create another viewer window
one
parents: 0
diff changeset
16 cs.execute();
a73b8a20e233 create another viewer window
one
parents: 0
diff changeset
17 }
0
9973439e03ad first commit
YU
parents:
diff changeset
18 }
9973439e03ad first commit
YU
parents:
diff changeset
19
9973439e03ad first commit
YU
parents:
diff changeset
20 }