Author: toad
Date: 2006-12-14 21:04:42 +0000 (Thu, 14 Dec 2006)
New Revision: 11408
Modified:
trunk/freenet/src/freenet/plugin/api/NeedsSimpleKeyFetch.java
Log:
Forgot the register() method!
Modified: trunk/freenet/src/freenet/plugin/api/NeedsSimpleKeyFetch.java
===================================================================
--- trunk/freenet/src/freenet/plugin/api/NeedsSimpleKeyFetch.java
2006-12-14 21:04:12 UTC (rev 11407)
+++ trunk/freenet/src/freenet/plugin/api/NeedsSimpleKeyFetch.java
2006-12-14 21:04:42 UTC (rev 11408)
@@ -5,8 +5,12 @@
/**
* Indicates that the plugin requires the ability to fetch keys.
- * Simple version of the interface.
+ * Simple version of the interface. Once the plugin is loaded, the
+ * node will call register() and thus provide the means to fetch keys.
+ * So the plugin author will not forget to implement this interface! :)
*/
public interface NeedsSimpleKeyFetch {
+ public void register(ProvidesSimpleKeyFetch fetcher);
+
}