FreenetWiki : FCP2p0FCPPluginMessage

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2008-03-07 23:37:56 by JuergenUrner [wording]

Additions:
The plugin may or may not respond with a FCPPluginReply message.

Deletions:
Hopfully the plugin will respond, the client recive a FCPPluginReply message.



Edited on 2008-02-01 13:56:13 by JuergenUrner [typo]

Additions:
<td>Param.customname</td>

Deletions:
<td>param.customname</td>



Edited on 2008-02-01 13:52:43 by JuergenUrner [Added fields according to FCPPluginMessage.java]

Additions:
<td>Identifier</td>
<td>DataLength</td>
<td align="left">Integer from 0 to ?</td>
<td>Length of data if data is passed along with the message</td>


Deletions:
<td>Indentifier</td>



Edited on 2007-11-20 00:39:32 by SaceS [fix typo]

Additions:
Hopfully the plugin will respond, the client recive a FCPPluginReply message.

Deletions:
Hopfully the plugin will respond, the client recive a FCPReplyMessage message.



Oldest known version of this page was edited on 2007-11-20 00:34:03 by SaceS [add FCPPluginMessage]
Page view:

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.
Hopfully the plugin will respond, the client recive a FCPReplyMessage 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
Indentifier 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.
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.0683 seconds