fix(connection,adb_client): commit the F-NEW1..3 wiring lost in the amend cycle — no-idle-timeout transport budget with in-code rationale, config accessor consumption, wrapped-line buffer

This commit is contained in:
James Mackay committed 2026-10-09 06:20:46 +01:00
1 parent 9b3142874f
commit e51545262e
2 files changed
+42 -11

No files matched your search

@@ -80,6 +80,20 @@ class AdbClientBase:
def connected(self) -> bool:
return self._connected
@property
def config(self) -> dict:
"""Public connection config: {host, port, key_path} (t27 F-NEW3).
Replaces the private-attr reach-ins for secondary streams — callers
(the dedicated logcat stream) share the signer material without
touching the poller's socket or its private attributes.
"""
return {
"host": self._host,
"port": self._port,
"key_path": self._key_path,
}
@property
def last_info(self) -> MediaSessionInfo | None:
return self._last_info