message filter calls listener

This commit is contained in:
2026-03-09 20:00:43 +01:00
parent c6c1f26f32
commit 2bdc23b762
3 changed files with 22 additions and 14 deletions
+3 -3
View File
@@ -2,12 +2,12 @@
class MsgContainer:
def __init__(self, name: str, timestamp: float = 0, data: bytes = b''):
self.name : str= name
self.timestamp : float = timestamp
self.name : str= name
self.data: bytes = data
def __str__(self):
return f"{self.name}: {self.timestamp}: {self.data}"
return f"{self.timestamp}:{self.name}:{self.data}"
def __repr__(self):
return f"{self.name}: {self.timestamp}: {self.data}"
return f"{self.timestamp}:{self.name}:{self.data}"