annotate src/main/java/app/bbs/DistributeApp.java @ 158:cd4d64249931

minor fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 12 Jul 2014 15:58:48 +0900
parents 69b5565c4a63
children 5d0734fd859d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
112
8f9811a1e00c Moved app files
one
parents: 106
diff changeset
1 package app.bbs;
38
d8ee57a1c2c6 add pom.xml and bbs
one
parents:
diff changeset
2
105
f9e29a52efd3 Move some files
one
parents: 66
diff changeset
3 import alice.jungle.remote.RemoteConfig;
106
f42f2e6b31de Removed project reference and Added dependency in pom.xml
one
parents: 105
diff changeset
4 import alice.topology.node.TopologyNode;
112
8f9811a1e00c Moved app files
one
parents: 106
diff changeset
5 import app.bbs.codesegment.StartBBSCodeSegment;
39
10359a815068 add alice.jungle.codesegment.remote
one
parents: 38
diff changeset
6
153
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
7 public class DistributeApp {
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
8 public static void main(String[] args) throws Exception {
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
9 RemoteConfig conf = new RemoteConfig(args);
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
10 if (conf.getManagerHostName() == null) {
158
cd4d64249931 minor fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 153
diff changeset
11 // String localHostName ="localhost";
cd4d64249931 minor fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 153
diff changeset
12 // HostMessage host = new HostMessage(localHostName, conf.localPort);
153
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
13 StartBBSCodeSegment cs1 = new StartBBSCodeSegment(args, conf.bbsPort);
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
14 cs1.ods.put("host", "node0");
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
15 } else {
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
16 new TopologyNode(conf, new StartBBSCodeSegment(args, conf.bbsPort));
69b5565c4a63 no use toporogy
tatsuki
parents: 124
diff changeset
17 }
38
d8ee57a1c2c6 add pom.xml and bbs
one
parents:
diff changeset
18 }
d8ee57a1c2c6 add pom.xml and bbs
one
parents:
diff changeset
19 }