|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
The callId-multiplexed execute reply router, shared by every backend that talks to a RemoteServer over a real (or simulated) connection. More...
#include <cstddef>#include <cstdint>#include <functional>#include <glaze/glaze.hpp>#include <optional>#include <unordered_map>#include <utility>#include "../wire.hpp"Go to the source code of this file.
The callId-multiplexed execute reply router, shared by every backend that talks to a RemoteServer over a real (or simulated) connection.
Two pieces live here, both extracted out of net::SocketBackend because they are a pure function of a decoded wire::Envelope and an in-memory map — no socket, no thread, no server — and so are worth testing directly rather than through a bound TCP port:
Definition in file reply_router.hpp.