BW3-Core/docu
KoenigMjr dada0d635b [feat/multicast]: refactor: isolate module state by moving class variables to instance scope
This commit refactors the internal state management to ensure true
multi-instance capability. While previous commits shared state via class
variables, this change encapsulates all buffers and flags within the
individual instance.

Key changes:
- Migration of state: Moved `_tone_ric_packets`, `_last_tone_ric_time`,
  and processing flags from class variables to instance variables (`self`).
- Thread Isolation: Shifted the cleanup logic to a per-instance
  `_cleanup_worker` thread, ensuring that timeouts are managed
  independently for each route/configuration.
- Wildcard Safety: Isolated `_wildcards_registered` to prevent
  registration conflicts between multiple multicast instances.
- Robust Hard-Timeout: Simplified `_cleanup_hard_timeout` to act
  strictly on the instance's own state.

This refactoring resolves the "architectural dinosaur" of shared class
state, making the module fully thread-safe and reliable for complex
multi-route and multi-frequency deployments.
2026-04-17 11:53:46 +02:00
..
docs [feat/multicast]: refactor: isolate module state by moving class variables to instance scope 2026-04-17 11:53:46 +02:00
doxygen.ini Merge branch 'develop' into process_manager 2019-09-20 14:54:07 +02:00
mkdocs.yml [feat/multicast]: add multi-instance multicast module with active trigger system 2026-03-05 13:52:48 +01:00