Mercurial > hg > Applications > AliceVNC
annotate src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java @ 85:e9005f975703
update Alice589
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 Jan 2016 21:12:23 +0900 |
parents | a2cf391b8a34 |
children | 4a8755a30aa8 |
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; |
80
c94436e90e9e
update Alice r:579
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
52
diff
changeset
|
4 import java.util.LinkedList; |
5
c05d3b89b446
Send DecodeInfo to Children Nodes. but occur ArrayIndexOutOfBoundsException.
YU
parents:
1
diff
changeset
|
5 |
47 | 6 import alice.daemon.AliceDaemon; |
1 | 7 import alice.topology.node.TopologyNode; |
80
c94436e90e9e
update Alice r:579
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
52
diff
changeset
|
8 import alice.topology.node.TopologyNodeConfig; |
0 | 9 |
47 | 10 /** |
11 * java -cp AliceVNC.jar alice.topology.manager.TopologyManager | |
12 * java -jar build/libs/AliceVNC.jar -host YuSugimoto-no-MacBook-Pro.local -p 21000 | |
13 */ | |
0 | 14 public class StartAliceVNC { |
15 public static void main(String args[]){ | |
1 | 16 AliceVNCConfig conf = new AliceVNCConfig(args); |
47 | 17 |
80
c94436e90e9e
update Alice r:579
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
52
diff
changeset
|
18 AliceVNC cs = new AliceVNC(conf); |
47 | 19 |
38 | 20 if (conf.debugMode()) { |
5
c05d3b89b446
Send DecodeInfo to Children Nodes. but occur ArrayIndexOutOfBoundsException.
YU
parents:
1
diff
changeset
|
21 cs.ods.put("_CLIST", new ArrayList<String>()); |
20 | 22 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
|
23 cs.execute(); |
38 | 24 return; |
1 | 25 } |
38 | 26 |
81 | 27 LinkedList<TopologyNodeConfig> topologyNodeConfigs = new TopologyNodeConfig().MultiTopologyNodeCongingFactory(args); |
85 | 28 new TopologyNode(topologyNodeConfigs, cs); |
38 | 29 |
0 | 30 } |
31 } |