5 #ifndef MP_PROXY_TYPE_THREADMAP_H 6 #define MP_PROXY_TYPE_THREADMAP_H 12 struct ProxyServer<ThreadMap> final :
public virtual ThreadMap::Server
16 kj::Promise<void> makeThread(MakeThreadContext context)
override;
20 template <
typename Output>
25 typename std::enable_if<std::is_same<decltype(output.get()), ThreadMap::Client>::value>::type* enable =
nullptr)
30 template <
typename Input>
35 typename
std::enable_if<
std::is_same<decltype(input.get()), ThreadMap::Client>::value>::type* enable =
nullptr)
37 invoke_context.connection.m_thread_map = input.get();
41 #endif // MP_PROXY_TYPE_THREADMAP_H
Function parameter type for prioritizing overloaded function calls that would otherwise be ambiguous...
Object holding network & rpc state associated with either an incoming server connection, or an outgoing client connection.
Generic utility functions used by capnp code.
Connection & m_connection
Functions to serialize / deserialize common bitcoin types.
Mapping from capnp interface type to proxy server implementation (specializations are generated by pr...
decltype(auto) CustomReadField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest) requires Unserializable< LocalType
Overload multiprocess library's CustomReadField hook to allow any object with an Unserialize method t...
void CustomBuildField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output) requires Serializable< LocalType
Overload multiprocess library's CustomBuildField hook to allow any serializable object to be stored i...