[jetrix-cvs] jetrix/src/java/net/jetrix/services PublishingService.java,1.9,1.10
Brought to you by:
smanux
From: Emmanuel B. <sm...@us...> - 2005-05-23 23:11:06
|
Update of /cvsroot/jetrix/jetrix/src/java/net/jetrix/services In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17924/src/java/net/jetrix/services Modified Files: PublishingService.java Log Message: The IP of the server is no longer submitted to tfast.org since the site is dead Index: PublishingService.java =================================================================== RCS file: /cvsroot/jetrix/jetrix/src/java/net/jetrix/services/PublishingService.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** PublishingService.java 4 Apr 2005 09:36:18 -0000 1.9 --- PublishingService.java 23 May 2005 23:10:54 -0000 1.10 *************** *** 41,45 **** /** * A service publishing the address of the server on public server lists ! * (tetrinet.org, tfast.org and tsrv.com). The <tt>host</tt> parameter can be * specified if not explicitely defined in the config.xml file (with the host * attribute on the tetrinet-server element), if no hostname is provided the --- 41,45 ---- /** * A service publishing the address of the server on public server lists ! * (tetrinet.org and tsrv.com). The <tt>host</tt> parameter can be * specified if not explicitely defined in the config.xml file (with the host * attribute on the tetrinet-server element), if no hostname is provided the *************** *** 92,109 **** log.info("Publishing server address to online directories... (" + host + ")"); - // publishing to tfast.org - try - { - String url = "http://www.tfast.org/en/add.php"; - Map<String, String> params = new HashMap<String, String>(); - params.put("ip", host); - params.put("desc", Server.getInstance().getConfig().getName()); - post(url, params); - } - catch (IOException e) - { - e.printStackTrace(); - } - // publishing to tetrinet.org try --- 92,95 ---- |