Mercurial > hg > Members > nobuyasu > jungle-network
comparison src/main/java/app/bbs/DistributeApp.java @ 193:89c15aa2bc6d
change transaction
author | tatsuki |
---|---|
date | Fri, 20 Mar 2015 16:18:42 +0900 |
parents | 3202a2a427b1 |
children |
comparison
equal
deleted
inserted
replaced
192:3202a2a427b1 | 193:89c15aa2bc6d |
---|---|
5 import app.bbs.codesegment.StartBBSCodeSegment; | 5 import app.bbs.codesegment.StartBBSCodeSegment; |
6 | 6 |
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(System.getProperty("java.version")); | 10 System.out.println("test"); |
11 if (conf.getManagerHostName() == null) { | 11 if (conf.getManagerHostName() == null) { |
12 // String localHostName ="localhost"; | 12 // String localHostName ="localhost"; |
13 // HostMessage host = new HostMessage(localHostName, conf.localPort); | 13 // HostMessage host = new HostMessage(localHostName, conf.localPort); |
14 StartBBSCodeSegment cs1 = new StartBBSCodeSegment(args, conf.bbsPort); | 14 StartBBSCodeSegment cs1 = new StartBBSCodeSegment(args, conf.bbsPort); |
15 cs1.ods.put("host", "node0"); | 15 cs1.ods.put("host", "node0"); |