Author: toad
Date: 2009-04-09 22:13:55 +0000 (Thu, 09 Apr 2009)
New Revision: 26686

Modified:
   trunk/plugins/JSTUN/JSTUN.java
Log:
Version JSTUN


Modified: trunk/plugins/JSTUN/JSTUN.java
===================================================================
--- trunk/plugins/JSTUN/JSTUN.java      2009-04-09 22:00:38 UTC (rev 26685)
+++ trunk/plugins/JSTUN/JSTUN.java      2009-04-09 22:13:55 UTC (rev 26686)
@@ -19,6 +19,7 @@
 import freenet.pluginmanager.FredPlugin;
 import freenet.pluginmanager.FredPluginHTTP;
 import freenet.pluginmanager.FredPluginIPDetector;
+import freenet.pluginmanager.FredPluginRealVersioned;
 import freenet.pluginmanager.FredPluginThreadless;
 import freenet.pluginmanager.FredPluginVersioned;
 import freenet.pluginmanager.PluginHTTPException;
@@ -29,7 +30,7 @@
 
 // threadless in the sense that it doesn't need a thread running all the time.
 // but getAddress() can and will block!
-public class JSTUN implements FredPlugin, FredPluginIPDetector, 
FredPluginThreadless, FredPluginHTTP, FredPluginVersioned {
+public class JSTUN implements FredPlugin, FredPluginIPDetector, 
FredPluginThreadless, FredPluginHTTP, FredPluginVersioned, 
FredPluginRealVersioned {
 
        // From http://www.voip-info.org/wiki-STUN
        String[] publicSTUNServers = new String[] {
@@ -281,4 +282,8 @@
        public String getVersion() {
                return "1.0";
        }
+
+       public long getRealVersion() {
+               return 1;
+       }
 }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to