r26686 - trunk/plugins/JSTUN

[email protected]
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
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;
+	}
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.