Bitcoin Core 29.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
mp::ServerVatId Struct Reference

Vat id for server side of connection. More...

#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 369 of file proxy-io.h.

Constructor & Destructor Documentation

◆ ServerVatId()

mp::ServerVatId::ServerVatId ( )
inline

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

Member Data Documentation

◆ message

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

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

◆ scratch

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

Definition at line 371 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 373 of file proxy-io.h.


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