7 Commits

Author SHA1 Message Date
c54dfc166f fix: unified device message signature 2024-05-01 17:43:38 +02:00
ca7c238519 fix: fixed log message signature and added literal checks; closes #277 2024-05-01 13:36:31 +02:00
64d5c304d9 test(bec_lib): added test for log monitor 2024-04-28 12:43:23 +02:00
1eaefc1c8a fix(channel_monitor): register.start removed since connector.register do not have any .start method 2024-04-25 17:32:09 +02:00
b92a79b0c0 refactor!(connector): unify connector/redis_connector in one class 2024-02-26 14:49:43 +01:00
8bbfd10ca7 refactor(messages)!: messages refactoring, new serialization module
To have a better separation of concern between messages and how they are conveyed in connectors.
BECMessage can be simple dataclasses, leaving the serialization to the connector which transport those.
The serialization module itself can be isolated, and in the case of msgpack it can be extended to
understand how to encode/decode BECMessage, to simplify writing code like with BundleMessage or to
be able to automatically encode numpy or BECStatus objects.
Finally, client objects (producers and consumers) can receive BECMessage objects instead of having
to dump or load themselves.
2024-02-07 12:43:52 +01:00
ab899524b4 refactor: cleanup and tests 2023-12-15 17:26:48 +01:00