From beed9c20da5fbacf8626e2d4b747bb84ae7f6d93 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sat, 7 Nov 2026 17:49:12 +0100 Subject: Moved docs around --- docs/data/remote/rpc_server.json | 66 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 docs/data/remote/rpc_server.json (limited to 'docs/data/remote/rpc_server.json') diff --git a/docs/data/remote/rpc_server.json b/docs/data/remote/rpc_server.json new file mode 100644 index 0000000..eb21128 --- /dev/null +++ b/docs/data/remote/rpc_server.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "id": "saw-rpc_server", + "kind": "class", + "name": "rpc_server", + "namespace": "saw", + "module": "remote", + "header": "modules/remote/c++/remote.hpp", + "brief_description": "Implementation of a remote server on the backend.", + "detailed_description": [ + [ + "Holds the interface whose functions clients call." + ], + [ + "The server never receives a parameter as data, only the id of a value already sitting in the matching", + {"name": "data_server", "id": "saw-data_server"}, + "which is what keeps the rpc layer an overlay on the transport layer." + ] + ], + "templates": [ + { + "name": "Iface", + "kind": "type", + "brief_description": "Interface schema the server provides." + }, + { + "name": "Encoding", + "kind": "type", + "brief_description": "Encoding of the parameters and responses." + }, + { + "name": "Remote", + "kind": "type", + "brief_description": "Tag type of the backend." + } + ], + "attributes": { + "saw-rpc_server-iface_": { + "id": "saw-rpc_server-iface_", + "name": "iface_", + "type": ["interface< Iface, Encoding >"], + "visibility": "private" + } + }, + "functions": { + "saw-rpc_server-ctor": { + "id": "saw-rpc_server-ctor", + "name": "rpc_server", + "type": [], + "parameters": [ + { + "name": "iface", + "type": ["interface< Iface, Encoding >"], + "brief_description": "The functions this server answers with." + } + ] + } + }, + "specializations": [ + { + "name": "rpc_server< Iface, Encode, rmt::Loopback >", + "id": "saw-rpc_server-loopback", + "brief_description": "Answers calls inline, resolving ids against the data servers of the same address." + } + ] +} -- cgit v1.3.1