FreenetWiki : FCP2p0FCPPluginMessage

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

FCPPluginMessage


This is a message of the Freenet Client Protocol 2.0 (FCP 2.0).
It is sent from a client program to the Freenet node.

This message is used to send a messege to a plugin.
The plugin may or may not respond with a FCPPluginReply message.

Example

FCPPluginMessage
Identifier=moohmooh
PluginName=plugins.HelloFCP.HelloFCP
Param.Hello=world
Param.fantasy=new world order
EndMessage


The plugin recive a fieldset with the following content:
Hello=world
fantasy=new world order



Field Possible values Mandatory? Description
PluginName plugin.name Yes A name to identify the plugin. Must be the same as class name shown on plugins page
Identifier unique string No Not mandatory yet, but you should use it. May the plugin responds in random order or delayed to many calls at once. Depends on plugin implementation.
DataLength Integer from 0 to ? No Length of data if data is passed along with the message
Param.customname text depends on plugin An amount of param.item=value pairs. See the documentation of the plugin for further details
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0448 seconds