chore(release): 0.5.0 #11

Merged
pufereq merged 9 commits from release/0.5.0 into main 2026-03-08 19:49:05 +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 selectors
import socket import socket
import time import time
from typing import Callable from typing import Callable, TYPE_CHECKING
from judas_protocol import Category, ControlAction, Message from judas_protocol import Category, ControlAction, Message
if TYPE_CHECKING:
from judas_client.client import Client
class Connector: class Connector:
"""Connector class for managing TCP connection and message exchange.""" """Connector class for managing TCP connection and message exchange."""
def __init__( def __init__(
self, self,
client: Client,
mac_address: str, mac_address: str,
host: str, host: str,
port: int, port: int,
@@ -34,6 +38,8 @@ class Connector:
) )
self.logger.debug("Initializing Connector...") self.logger.debug("Initializing Connector...")
self.client: Client = client
self.host: str = host self.host: str = host
self.port: int = port self.port: int = port