Author: saces
Date: 2008-09-02 16:57:38 +0000 (Tue, 02 Sep 2008)
New Revision: 22355

Added:
   trunk/freenet/src/freenet/pluginmanager/FredPluginUoF.java
Log:
interface for plugins updatedable over freenet

Added: trunk/freenet/src/freenet/pluginmanager/FredPluginUoF.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/FredPluginUoF.java                  
        (rev 0)
+++ trunk/freenet/src/freenet/pluginmanager/FredPluginUoF.java  2008-09-02 
16:57:38 UTC (rev 22355)
@@ -0,0 +1,29 @@
+/* This code is part of Freenet. It is distributed under the GNU General
+ * Public License, version 2 (or at your option any later version). See
+ * http://www.gnu.org/ for further details of the GPL. */
+package freenet.pluginmanager;
+
+import freenet.keys.FreenetURI;
+
+/**
+ * Interface for plugins thats can be updated over freenet
+ * 
+ * 
+ * @author saces
+ */
+public interface FredPluginUoF {
+       
+       /**
+        * If the uri fetches any data the plugin is revoked<ul><li>plugin will 
be stopped and disabled</li>
+        * <li>stop updater</li></ul>
+        * 
+        * @return FreenetURI to watch
+        */
+       public FreenetURI getRevokeURI();
+       
+       /**
+        * an uri that points to plugin jarfile
+        * @return FreenetURI to look for next edition
+        */
+       public FreenetURI getUpdaterURI();
+}


Property changes on: trunk/freenet/src/freenet/pluginmanager/FredPluginUoF.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain


Reply via email to