Author: sleon
Date: 2006-01-05 12:07:42 +0000 (Thu, 05 Jan 2006)
New Revision: 7743

Modified:
   trunk/freenet/.classpath
   trunk/freenet/src/freenet/node/Node.java
   trunk/freenet/src/freenet/node/Version.java
Log:
implemented client for my auditing system 

it connects to sleon.dyndns.org on port 12345 
and uploads status information every 3 minutes

Modified: trunk/freenet/.classpath
===================================================================
--- trunk/freenet/.classpath    2006-01-05 10:04:37 UTC (rev 7742)
+++ trunk/freenet/.classpath    2006-01-05 12:07:42 UTC (rev 7743)
@@ -2,6 +2,6 @@
 <classpath>
        <classpathentry 
excluding="test/**|org/spaceroots/mantissa/random/MersenneTwisterTest.java" 
kind="src" path="src"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-       <classpathentry kind="lib" 
path="/usr/src/cvs/freenet-stable/lib/freenet-ext.jar"/>
+       <classpathentry kind="lib" path="/home/sleon/node/freenet-ext.jar"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2006-01-05 10:04:37 UTC (rev 
7742)
+++ trunk/freenet/src/freenet/node/Node.java    2006-01-05 12:07:42 UTC (rev 
7743)
@@ -171,6 +171,7 @@
     final RequestStarter insertStarter;
     final File downloadDir;
     final TestnetHandler testnetHandler;
+    final TestnetStatusUploader statusUploader;

     // Client stuff that needs to be configged - FIXME
     static final int MAX_ARCHIVE_HANDLERS = 200; // don't take up much RAM... 
FIXME
@@ -324,10 +325,12 @@
                testnetEnabled = true;
                testnetPort = 1024 + (port-1024+1000) % (65536 - 1024);
                testnetHandler = new TestnetHandler(this, testnetPort);
+               statusUploader = new TestnetStatusUploader(this, 180000);
        } else {
                testnetEnabled = false;
                testnetPort = -1;
                testnetHandler = null;
+               statusUploader = null;
        }
         portNumber = port;
         startupTime = System.currentTimeMillis();

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-01-05 10:04:37 UTC (rev 
7742)
+++ trunk/freenet/src/freenet/node/Version.java 2006-01-05 12:07:42 UTC (rev 
7743)
@@ -20,7 +20,7 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       public static final int buildNumber = 306;
+       public static final int buildNumber = 307;

        /** Oldest build of Fred we will talk to */
        public static final int lastGoodBuild = 305;


Reply via email to