5#ifndef MP_PROXY_TYPE_THREADMAP_H
6#define MP_PROXY_TYPE_THREADMAP_H
12struct ProxyServer<ThreadMap> final :
public virtual ThreadMap::Server
16 kj::Promise<void>
makeThread(MakeThreadContext context)
override;
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)
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)
void CustomBuildField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output)
ProxyServer(Connection &connection)
kj::Promise< void > makeThread(MakeThreadContext context) override
Connection & m_connection