Files
hms-mediaengine/packages/protocol/hms_protocol/__init__.py
T

37 lines
817 B
Python
Raw Normal View History

"""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",
]