Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
mp::ServerVatId Struct Reference

#include <proxy-io.h>

Public Member Functions

 ServerVatId ()

Public Attributes

::capnp::word scratch [4] {}
::capnp::MallocMessageBuilder message {scratch}
::capnp::rpc::twoparty::VatId::Builder vat_id {message.getRoot<::capnp::rpc::twoparty::VatId>()}

Detailed Description

Vat id for server side of connection. Required argument to RpcSystem::bootStrap()

"Vat" is Cap'n Proto nomenclature for a host of various objects that facilitates bidirectional communication with other vats; it is often but not always 1-1 with processes. Cap'n Proto doesn't reference clients or servers per se; instead everything is just a vat.

See also: https://github.com/capnproto/capnproto/blob/9021f0c722b36cb11e3690b0860939255ebad39c/c%2B%2B/src/capnp/rpc.capnp#L42-L56

Definition at line 499 of file proxy-io.h.

Constructor & Destructor Documentation

◆ ServerVatId()

mp::ServerVatId::ServerVatId ( )
inline

Definition at line 504 of file proxy-io.h.

Member Data Documentation

◆ message

::capnp::MallocMessageBuilder mp::ServerVatId::message {scratch}

Definition at line 502 of file proxy-io.h.

◆ scratch

::capnp::word mp::ServerVatId::scratch[4] {}

Definition at line 501 of file proxy-io.h.

◆ vat_id

::capnp::rpc::twoparty::VatId::Builder mp::ServerVatId::vat_id {message.getRoot<::capnp::rpc::twoparty::VatId>()}

Definition at line 503 of file proxy-io.h.


The documentation for this struct was generated from the following file: