summaryrefslogtreecommitdiff
path: root/docs/data/remote/rpc_function_id.json
blob: b5788f447a4baa70ad353cb248718b73064a0936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
	"format": 1,
	"id": "saw-rpc_function_id",
	"kind": "struct",
	"name": "rpc_function_id",
	"namespace": "saw",
	"module": "remote",
	"header": "modules/remote/c++/remote.hpp",
	"brief_description": "Identifier of an interface function on the wire.",
	"detailed_description": [
		[
			"Keyed on the member name rather than on its index, so reordering an interface doesn't silently rebind calls between two versions."
		],
		[
			"This is the number a backend hands to call_by_id of the",
			{"name": "rpc_server", "id": "saw-rpc_server-loopback"},
			"when the called function arrives as data instead of as a template argument."
		]
	],
	"templates": [
		{
			"name": "Lit",
			"kind": "non_type",
			"type": "string_literal",
			"brief_description": "Name of the interface member."
		}
	],
	"attributes": {
		"saw-rpc_function_id-value": {
			"id": "saw-rpc_function_id-value",
			"name": "value",
			"type": ["uint32_t"],
			"visibility": "public",
			"static": true,
			"constexpr": true,
			"initializer": "hash_literal<Lit>::apply(0u)",
			"brief_description": "crc32 of the member name."
		}
	}
}