Mercurial > hg > Members > tatsuki > bbs
comparison src/main/java/jp/ac/u_ryukyu/ie/cr/bbs/network/bbs/DistributeApp.java @ 8:766f7668521f
commit
author | tatsuki |
---|---|
date | Thu, 02 Feb 2017 23:05:59 +0900 |
parents | src/main/java/jp/ac/u_ryukyu/ie/cr/bbs/network/DistributeApp.java@5acde010c6db |
children |
comparison
equal
deleted
inserted
replaced
7:6c584862fe93 | 8:766f7668521f |
---|---|
1 package jp.ac.u_ryukyu.ie.cr.bbs.network.bbs; | |
2 | |
3 import alice.topology.node.TopologyNode; | |
4 import jp.ac.u_ryukyu.ie.cr.bbs.network.codesegment.StartBBSCodeSegment; | |
5 import jp.ac.u_ryukyu.ie.cr.jungleNetwork.remote.RemoteConfig; | |
6 | |
7 public class DistributeApp { | |
8 public static void main(String[] args) throws Exception { | |
9 RemoteConfig conf = new RemoteConfig(args); | |
10 System.out.println("test"); | |
11 if (conf.getManagerHostName() == null) { | |
12 StartBBSCodeSegment cs1 = new StartBBSCodeSegment(args, conf.bbsPort); | |
13 cs1.ods.put("host", "node0"); | |
14 } else { | |
15 new TopologyNode(conf, new StartBBSCodeSegment(args, conf.bbsPort)); | |
16 } | |
17 } | |
18 } |