Bitcoin Core 28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
echo.capnp.proxy-server.c++
Go to the documentation of this file.
1// Generated by mpgen from ipc/capnp/echo.capnp
2
4#include <mp/proxy-types.h>
5
6namespace mp {
7kj::Promise<void> ProxyServer<ipc::capnp::messages::Echo>::destroy(DestroyContext call_context) {
8 return serverInvoke(*this, call_context, MakeServerField<0, Accessor<echo_fields::Context, FIELD_IN | FIELD_BOXED>>(ServerDestroy()));
9}
10kj::Promise<void> ProxyServer<ipc::capnp::messages::Echo>::echo(EchoContext call_context) {
11 return serverInvoke(*this, call_context, MakeServerField<0, Accessor<echo_fields::Context, FIELD_IN | FIELD_BOXED>>(MakeServerField<1, Accessor<echo_fields::Echo, FIELD_IN | FIELD_BOXED>>(Make<ServerRet, Accessor<echo_fields::Result, FIELD_OUT | FIELD_BOXED>>(ServerCall()))));
12}
13} // namespace mp
Functions to serialize / deserialize common bitcoin types.
kj::Promise< void > echo(EchoContext call_context) override
kj::Promise< void > destroy(DestroyContext call_context) override