Mercurial > hg > Members > tatsuki > bbs
comparison src/main/java/jp/ac/u_ryukyu/ie/cr/bbs/network/DistributeApp.java @ 4:5acde010c6db
add jungle browsing system
author | tatsuki |
---|---|
date | Tue, 28 Jun 2016 19:45:55 +0900 |
parents | f3d30646c863 |
children |
comparison
equal
deleted
inserted
replaced
3:f3d30646c863 | 4:5acde010c6db |
---|---|
7 public class DistributeApp { | 7 public class DistributeApp { |
8 public static void main(String[] args) throws Exception { | 8 public static void main(String[] args) throws Exception { |
9 RemoteConfig conf = new RemoteConfig(args); | 9 RemoteConfig conf = new RemoteConfig(args); |
10 System.out.println("test"); | 10 System.out.println("test"); |
11 if (conf.getManagerHostName() == null) { | 11 if (conf.getManagerHostName() == null) { |
12 // String localHostName ="localhost"; | |
13 // HostMessage host = new HostMessage(localHostName, conf.localPort); | |
14 StartBBSCodeSegment cs1 = new StartBBSCodeSegment(args, conf.bbsPort); | 12 StartBBSCodeSegment cs1 = new StartBBSCodeSegment(args, conf.bbsPort); |
15 cs1.ods.put("host", "node0"); | 13 cs1.ods.put("host", "node0"); |
16 } else { | 14 } else { |
17 new TopologyNode(conf, new StartBBSCodeSegment(args, conf.bbsPort)); | 15 new TopologyNode(conf, new StartBBSCodeSegment(args, conf.bbsPort)); |
18 } | 16 } |