How ge-garcia/beacon works
Beacon is a typed, bounded publish-subscribe library for Ada, with optional UDP multicast for cross-process messaging. The principal workflow is a publisher publishing typed values to a generic topic, which fans them out to subscriber queues for typed receipt. The network branch bridges local subscriptions to wire messages and incoming wire messages back to local publication. The README also documents representation-based message codecs and runnable demos. Only the README was available as evidence, so edges show documented relationships rather than unverified implementation calls.
Main entry points: beacon-topic.adb Generic topic · telemetry.ads Telemetry registry · beacon-bridge.adb Topic bridge · net_subscriber.adb Network subscriber
Components 14
Typed pub-sub
- Generic topic
src/beacon-topic.adb - Bounded queue
src/beacon-queue.adb - Delivery modes
src/beacon.ads
Network bridge
- Topic bridge
src/net/beacon-bridge.adb - Wire framing
src/net/beacon-wire.adb - Transport interface
src/net/beacon-transport.ads - UDP multicast
src/net/beacon-transport-udp.adb
Demonstrations
- Telemetry registry
demo/src/telemetry.ads - Telemetry codecs
demo/src/telemetry-codecs.adb - In-process demo
demo/src/inproc_demo.adb - Network publisher
demo/src/net_publisher.adb - Network subscriber
demo/src/net_subscriber.adb
Other components
- Publisher
- Subscriber
Connections 13
- Publisher → Generic topic: publishes typed values
README.md - Generic topic → Subscriber: delivers typed values
README.md - Generic topic → Bounded queue: uses subscriber queues
README.md - Generic topic → Delivery modes: selects delivery mode
README.md - Topic bridge → Wire framing: bridges local values
README.md - Topic bridge → Transport interface: transports messages
README.md - UDP multicast → Transport interface: implements transport
README.md - Telemetry registry → Generic topic: instantiates topics
README.md - Telemetry codecs → Telemetry registry: serializes messages
README.md - In-process demo → Telemetry registry: demonstrates topics
README.md - Network publisher → Telemetry registry: publishes readings
README.md - Network subscriber → Telemetry registry: receives readings
README.md - Network subscriber → Wire framing: checks CRC
README.md