Expand description
Phone and desktop host wrappers over the session bus (VIEW4.09).
These are thin facades over Session: they reuse the same Intent/Scene
bus, transport, and pump, and add only the host-shaped policy each device
needs. Nothing here re-implements transport, rendering, or diffing.
PhoneHostis a single-pane facade that caches the last rendered frame and, while the transport is offline, QUEUES Intents and replays them onPhoneHost::resume– an offline-safe phone that never drops an edit.DesktopHostis a many-pane facade: it opens several panes/windows over one session, so an edit in one pane fans out (throughSession::pump) to every pane that shares the edited resource.
Both stay generic over T: [Transport], so they drive the deterministic
FixtureTransport in tests and a real
transport later without change.
Structs§
- Desktop
Host - A desktop host facade: many panes/windows over one
Session. - Phone
Host - A phone host facade: a single-pane
Sessionthat caches the last rendered frame and queues Intents while offline, flushing them on resume.
Constants§
- PHONE_
PANE - The single pane a
PhoneHostrenders into.