Mercurial > hg > Database > jungle-network
diff src/jungle/test/bbs/DistributeApp.java @ 46:fd3643699f83
modified pom.xml. fix conflict log4j libraries
author | one |
---|---|
date | Fri, 12 Jul 2013 11:27:00 +0900 |
parents | 4419ac56cbfd |
children | ab8c655ef457 |
line wrap: on
line diff
--- a/src/jungle/test/bbs/DistributeApp.java Fri Jul 12 09:47:22 2013 +0900 +++ b/src/jungle/test/bbs/DistributeApp.java Fri Jul 12 11:27:00 2013 +0900 @@ -25,23 +25,7 @@ { public static void main( String[] args ) throws Exception { - RemoteConfig conf = new RemoteConfig(args); new TopologyNode(conf, new StartBBSCodeSegment()); -/* - if(conf.hostname == null) { - new AliceDaemon(conf).listen(); - PutHostLogCodeSegment cs = new PutHostLogCodeSegment(); - cs.arg1.setKey("local","log"); - LogUpdateCodeSegment updateCS = new LogUpdateCodeSegment("local", "anotherLog"); - updateCS.arg1.setKey("local", "anotherLog"); - } else { - DataSegment.connect(conf.key, "", conf.hostname, conf.connectPort); - PutAnotherLogCodeSegment cs = new PutAnotherLogCodeSegment(); - cs.arg1.setKey("local", "log"); - LogUpdateCodeSegment updateCS = new LogUpdateCodeSegment("remote", "hostLog"); - updateCS.arg1.setKey("remote", "hostLog"); - } -*/ } }