Moved derive units to registry architectur

DeriveUnits are now owned by a DeriveRegistry which has its own routing
thread to handle routing values to the different DeriveUnits
This commit is contained in:
h3cx committed 2026-09-11 18:50:32 +02:00
1 parent c0a3117be4
commit 19b356a94d
6 files changed
+292 -109

No files matched your search

+13 -4
View File
@@ -11,10 +11,6 @@ class CoreStateMismatchError(CoreError):
"""DynaLab Core state error."""
class CoreMultipleFunctionsFoundError(CoreError):
"""DynaLab Core multiple functions found while trying to create derive unit."""
# DLPak error declarations
class DLPakError(Exception):
"""DLPak error."""
@@ -35,3 +31,16 @@ class DeriveUnitInvalidSignatureError(DeriveUnitError):
class DeriveUnitArgsMismatchError(DeriveUnitError):
"""DeriveUnit incorrect arguments provided error."""
class DeriveUnitMultipleFunctionsFoundError(DeriveUnitError):
"""DynaLab Core multiple functions found while trying to create derive unit."""
# DeriveRegistry error declarations
class DeriveRegistryError(Exception):
"""Generic ConnectorRegistry Error"""
class DeriveRegistryAlreadyRegisteredError(DeriveRegistryError):
"""ConnectorRegistry endpoint already registered"""