BW3-Core/module
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
..
filter Update module/filter/doubleFilter.py 2025-06-11 10:22:12 +02:00
__init__.py some reworks 2019-03-01 12:09:12 +01:00
descriptor.py CSV-Cleaning, new matching strategy, new Debug-message, updating docu 2025-12-03 22:28:08 +01:00
geocoding.py Avoid "DeprecationWarning: invalid escape sequence" 2023-09-19 17:49:09 +02:00
moduleBase.py [feat/multicast]: add multi-instance multicast module with active trigger system 2026-03-05 13:52:48 +01:00
multicast.py [feat/multicast]: refactor: isolate module state by moving class variables to instance scope 2026-04-17 11:53:46 +02:00
template_module.py Avoid "DeprecationWarning: invalid escape sequence" 2023-09-19 17:49:09 +02:00