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 message 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 specified plugin receives 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. Maybe 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. |