Mercurial > hg > Applications > AliceVNC
annotate src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java @ 68:95beb204b60e
update Alice using String ip in HostMessage
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 23 Nov 2015 19:53:37 +0900 |
parents | 57ca704f86a3 |
children |
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 |
47 | 5 import alice.daemon.AliceDaemon; |
1 | 6 import alice.topology.node.TopologyNode; |
0 | 7 |
47 | 8 /** |
9 * java -cp AliceVNC.jar alice.topology.manager.TopologyManager | |
10 * java -jar build/libs/AliceVNC.jar -host YuSugimoto-no-MacBook-Pro.local -p 21000 | |
11 */ | |
0 | 12 public class StartAliceVNC { |
13 public static void main(String args[]){ | |
1 | 14 AliceVNCConfig conf = new AliceVNCConfig(args); |
47 | 15 |
16 AliceDaemon aliceDaemon = new AliceDaemon(conf); | |
17 | |
1 | 18 AliceVNC cs = new AliceVNC(conf); |
38 | 19 if (conf.debugMode()) { |
5
c05d3b89b446
Send DecodeInfo to Children Nodes. but occur ArrayIndexOutOfBoundsException.
YU
parents:
1
diff
changeset
|
20 cs.ods.put("_CLIST", new ArrayList<String>()); |
20 | 21 cs.ods.put("host", "node0"); |
52
57ca704f86a3
back version Alice tag:work-compressedDSM
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
47
diff
changeset
|
22 cs.execute(); |
38 | 23 return; |
1 | 24 } |
38 | 25 |
26 if (conf.getManagerHostName() ==null){ | |
27 conf.setManagerHostName("firefly.cr.ie.u-ryukyu.ac.jp"); | |
68
95beb204b60e
update Alice using String ip in HostMessage
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
52
diff
changeset
|
28 //conf.setManagerHostIP("10.0.3.63"); |
40 | 29 conf.setManagerPort(10000); |
38 | 30 } |
31 | |
32 new TopologyNode(conf, cs); | |
0 | 33 } |
34 } |