5#ifndef MP_PROXY_TYPE_THREADMAP_H
6#define MP_PROXY_TYPE_THREADMAP_H
12struct ProxyServer<ThreadMap> final :
public virtual ThreadMap::Server
20template <
typename Output>
25 typename std::enable_if<std::is_same<
decltype(output.get()), ThreadMap::Client>::value>::type*
enable =
nullptr)
30template <
typename Input>
35 typename std::enable_if<std::is_same<
decltype(input.get()), ThreadMap::Client>::value>::type*
enable =
nullptr)
Object holding network & rpc state associated with either an incoming server connection,...
ThreadMap::Client m_thread_map
Functions to serialize / deserialize common bitcoin types.
decltype(auto) CustomReadField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest)
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)
Overload multiprocess library's CustomBuildField hook to allow any serializable object to be stored i...
Function parameter type for prioritizing overloaded function calls that would otherwise be ambiguous.
Connection & m_connection
Mapping from capnp interface type to proxy server implementation (specializations are generated by pr...
Generic utility functions used by capnp code.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.