add more enums so we can remove some of the constants

rename some of the packet classes

patch bump
This commit is contained in:
2026-03-07 00:03:46 +00:00
parent 3cde874a3c
commit 9f43ee18d3
7 changed files with 250 additions and 231 deletions

View File

@@ -13,7 +13,7 @@ from .event import Event
from .packet.headers import (
VbanMatrixResponseHeader,
VbanPongHeader,
VbanRequestHeader,
VbanRTRequestHeader,
)
from .packet.ping0 import VbanPing0Payload, VbanServerType
from .subject import Subject
@@ -201,7 +201,7 @@ class VbanCmd(abc.ABC):
def _send_request(self, payload: str) -> None:
"""Sends a request packet over the network and bumps the framecounter."""
self.sock.sendto(
VbanRequestHeader.encode_with_payload(
VbanRTRequestHeader.encode_with_payload(
name=self.streamname,
bps_index=self.BPS_OPTS.index(self.bps),
channel=self.channel,