Logos Delivery Module#
Note
This site is the API reference and the internal docs.
To watch this run end-to-end against a real logoscore daemon, see the
Tutorial.
The Logos Delivery Module lets your application send and receive messages over
a peer-to-peer network, without running a server of its own. It is a Logos Core
core module: it wraps
liblogosdelivery and
exposes it to the rest of the runtime, so any other module — or a UI — can
publish to a topic, subscribe to one, or open a reliable channel by calling
methods on delivery_module.
Using the API#
createNode– build a node from a JSON configuration (once per context).start– boot it and join the network.subscribe/send– receive on a topic, publish to one.stop– shut it down.
Calls return as soon as the request is dispatched. What actually happened on the network arrives later as an event — subscribe to those rather than reading a return value.