feat/add-basic-telemetry #10

Merged
pufereq merged 8 commits from feat/add-basic-telemetry into develop 2026-03-08 19:42:40 +00:00
4 changed files with 164 additions and 4 deletions
Showing only changes of commit 9360fe9f3c - Show all commits

View File

@@ -5,16 +5,20 @@ import logging as lg
import selectors
import socket
import time
from typing import Callable
from typing import Callable, TYPE_CHECKING
from judas_protocol import Category, ControlAction, Message
if TYPE_CHECKING:
from judas_client.client import Client
class Connector:
"""Connector class for managing TCP connection and message exchange."""
def __init__(
self,
client: Client,
mac_address: str,
host: str,
port: int,
@@ -34,6 +38,8 @@ class Connector:
)
self.logger.debug("Initializing Connector...")
self.client: Client = client
self.host: str = host
self.port: int = port