Message
From Friend2Friend Wiki
Messages are units of communication passed between soft nodes, possibly from different soft-systems. They have at least 3 sections:
- To (Its destination, in XML address format)
- From (Its purported origin, in XML address format)
- Content (Its payload, in XML)
The 4th section is optional
- Exceptions (XML output)
As they bubble to their destination, they are liable to interception by filters.
| Type | Purpose |
|---|---|
| down | Creation of new threads |
| term | On thread termination, these send its contents back |
| return | XML sent back by the return service |
| send, send2 | XML from the send service |
| update | Returning data from processes |
| signal | Controlling [process]es |
| register, unregister | Threads contacting a processes (old, may be revised) |
| import | A request to import a soft-node into another soft-system |
Acknowledgements
Message acknowledgements have the same format as messages, but the type is appended '-ok'. so a 'down-ok' message acknowledges a 'down' message.