9536e08748
- ADR-0008: Build-first, gesammelte Windows-Validierung (Auftraggeber-Freigabe) - ADR-0004 vorläufig: Rust auf GStreamer-D3D11-Elementpfad - ADR-0005 vorläufig: Nuitka Onefolder - hms_protocol: IpcServer/IpcClient mit Handshake (hello/welcome), Capabilities-Austausch, Heartbeat 500 ms bidirektional, Snapshot/Delta, Loopback-only-Enforcement, Re-Sync nach Reconnect, Version-Mismatch-Fehler - 9 Integrationstests: echter TCP-Loopback, kein Mock
37 lines
817 B
Python
37 lines
817 B
Python
"""hms_protocol – versioniertes IPC (PLAN.md §6.2, ADR-0003).
|
||
|
||
Lokales TCP auf 127.0.0.1, length-prefixed MessagePack, Protokollversion 1.
|
||
Verbindungsschicht: Handshake, Snapshot/Delta, Heartbeat, Re-Sync.
|
||
"""
|
||
|
||
from hms_protocol.connection import (
|
||
HandshakeInfo,
|
||
IpcClient,
|
||
IpcServer,
|
||
ProtocolError,
|
||
)
|
||
from hms_protocol.envelope import Envelope, MessageType
|
||
from hms_protocol.framing import (
|
||
decode_frame,
|
||
encode_frame,
|
||
read_frame,
|
||
read_frame_async,
|
||
write_frame,
|
||
)
|
||
from hms_protocol.idempotency import IdempotencyRegistry
|
||
|
||
__all__ = [
|
||
"Envelope",
|
||
"MessageType",
|
||
"encode_frame",
|
||
"decode_frame",
|
||
"read_frame",
|
||
"read_frame_async",
|
||
"write_frame",
|
||
"IdempotencyRegistry",
|
||
"IpcServer",
|
||
"IpcClient",
|
||
"HandshakeInfo",
|
||
"ProtocolError",
|
||
]
|