Author: saces
Date: 2007-11-28 15:36:11 +0000 (Wed, 28 Nov 2007)
New Revision: 16022

Modified:
   trunk/plugins/HelloFCP/HelloFCP.java
Log:
update HelloFCP plugin

Modified: trunk/plugins/HelloFCP/HelloFCP.java
===================================================================
--- trunk/plugins/HelloFCP/HelloFCP.java        2007-11-28 15:35:43 UTC (rev 
16021)
+++ trunk/plugins/HelloFCP/HelloFCP.java        2007-11-28 15:36:11 UTC (rev 
16022)
@@ -26,13 +26,12 @@
        }

        /**
-        * if the access flag is null it is a direct call from an other plugin
-        * the access flag is set true if the client comes from an adress with 
full fcp access,
-        * otherwise it is set false
+        * access flag: FredPluginFCP.ACCESS_DIRECT:         direct call 
(plugin to plugin);
+        *              FredPluginFCP.ACCESS_FCP_RESTRICTED: FCP restricted 
access;
+        *              FredPluginFCP.ACCESS_FCP_FULL :      FCP full access  
         * 
-        * @see freenet.pluginmanager.FredPluginFCP#create(java.lang.String, 
freenet.support.SimpleFieldSet, boolean)
         */
-       public void handle(PluginReplySender replysender, SimpleFieldSet 
params, Bucket data, Boolean access) {
+       public void handle(PluginReplySender replysender, SimpleFieldSet 
params, Bucket data, int accesstype) {
                // simple echo
                replysender.send(params, data);
        }


Reply via email to