feat(reflector): activate fanoutClient* across satellite+twin links

Replaces the no-op stubs from Task 4. Per-client liveness deltas
(MsgPeerClient{Connected,Disconnected,Rx,Status}) now flow over
satellite (parent->sat and sat->parent) and twin links. Trunk peers
are intentionally skipped — see spec §3 for the routing rationale.

Each receiving reflector republishes the events on its own MQTT
broker as peer/<peer_id>/client/<call>/<event>, retained for rx
and status, ephemeral for connect and disconnect.
This commit is contained in:
Audric committed 2026-04-28 20:25:31 +02:00
1 parent 6f407a5a77
commit 24a4bc98f9
2 files changed
+66 -10

No files matched your search

-1
View File
@@ -286,7 +286,6 @@ class Reflector : public sigc::trackable
// Per-client liveness fanout to satellite and twin peers. Iterates
// m_satellite_con_map, m_satellite_client, and m_twin_link. Trunk
// peers are intentionally NOT fanned out (deferred per design spec).
// Bodies are stubs in this commit and become real iteration in Task 8.
void fanoutClientConnected(const std::string& callsign, uint32_t tg,
const std::string& ip);
void fanoutClientDisconnected(const std::string& callsign);