Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::cdb::CdbIpcClient Class Reference

Auto-generated IPC client. More...

#include <cdb_ipc_client_generated.hpp>

Public Member Functions

 CdbIpcClient (const std::string &socket_path)
 
 ~CdbIpcClient ()
 
 CdbIpcClient (const CdbIpcClient &)=delete
 
CdbIpcClientoperator= (const CdbIpcClient &)=delete
 
CdbGetContractInstance::Response get_contract_instance (CdbGetContractInstance cmd) const
 
CdbGetContractClass::Response get_contract_class (CdbGetContractClass cmd) const
 
CdbGetBytecodeCommitment::Response get_bytecode_commitment (CdbGetBytecodeCommitment cmd)
 
CdbGetDebugFunctionName::Response get_debug_function_name (CdbGetDebugFunctionName cmd) const
 
void add_contracts (CdbAddContracts cmd)
 
void create_checkpoint (CdbCreateCheckpoint cmd)
 
void commit_checkpoint (CdbCommitCheckpoint cmd)
 
void revert_checkpoint (CdbRevertCheckpoint cmd)
 
void add_contract_class (CdbAddContractClass cmd)
 
void add_contract_instance (CdbAddContractInstance cmd)
 
void register_function_signatures (CdbRegisterFunctionSignatures cmd)
 
CdbGetContractClassIds::Response get_contract_class_ids () const
 
void shutdown ()
 

Private Member Functions

template<typename Cmd >
Cmd::Response send (Cmd &&cmd) const
 

Private Attributes

std::unique_ptr< ipc::IpcClientclient_
 

Detailed Description

Auto-generated IPC client.

Each method sends a msgpack-serialized command to the server over UDS and returns the typed response. All methods block until the response arrives.

Definition at line 19 of file cdb_ipc_client_generated.hpp.

Constructor & Destructor Documentation

◆ CdbIpcClient() [1/2]

bb::cdb::CdbIpcClient::CdbIpcClient ( const std::string &  socket_path)
explicit

Definition at line 13 of file cdb_ipc_client_generated.cpp.

◆ ~CdbIpcClient()

bb::cdb::CdbIpcClient::~CdbIpcClient ( )

Definition at line 21 of file cdb_ipc_client_generated.cpp.

◆ CdbIpcClient() [2/2]

bb::cdb::CdbIpcClient::CdbIpcClient ( const CdbIpcClient )
delete

Member Function Documentation

◆ add_contract_class()

void bb::cdb::CdbIpcClient::add_contract_class ( CdbAddContractClass  cmd)

Definition at line 114 of file cdb_ipc_client_generated.cpp.

◆ add_contract_instance()

void bb::cdb::CdbIpcClient::add_contract_instance ( CdbAddContractInstance  cmd)

Definition at line 119 of file cdb_ipc_client_generated.cpp.

◆ add_contracts()

void bb::cdb::CdbIpcClient::add_contracts ( CdbAddContracts  cmd)

Definition at line 94 of file cdb_ipc_client_generated.cpp.

◆ commit_checkpoint()

void bb::cdb::CdbIpcClient::commit_checkpoint ( CdbCommitCheckpoint  cmd)

Definition at line 104 of file cdb_ipc_client_generated.cpp.

◆ create_checkpoint()

void bb::cdb::CdbIpcClient::create_checkpoint ( CdbCreateCheckpoint  cmd)

Definition at line 99 of file cdb_ipc_client_generated.cpp.

◆ get_bytecode_commitment()

CdbGetBytecodeCommitment::Response bb::cdb::CdbIpcClient::get_bytecode_commitment ( CdbGetBytecodeCommitment  cmd)

Definition at line 84 of file cdb_ipc_client_generated.cpp.

◆ get_contract_class()

CdbGetContractClass::Response bb::cdb::CdbIpcClient::get_contract_class ( CdbGetContractClass  cmd) const

Definition at line 79 of file cdb_ipc_client_generated.cpp.

◆ get_contract_class_ids()

CdbGetContractClassIds::Response bb::cdb::CdbIpcClient::get_contract_class_ids ( ) const

Definition at line 129 of file cdb_ipc_client_generated.cpp.

◆ get_contract_instance()

CdbGetContractInstance::Response bb::cdb::CdbIpcClient::get_contract_instance ( CdbGetContractInstance  cmd) const

Definition at line 74 of file cdb_ipc_client_generated.cpp.

◆ get_debug_function_name()

CdbGetDebugFunctionName::Response bb::cdb::CdbIpcClient::get_debug_function_name ( CdbGetDebugFunctionName  cmd) const

Definition at line 89 of file cdb_ipc_client_generated.cpp.

◆ operator=()

CdbIpcClient & bb::cdb::CdbIpcClient::operator= ( const CdbIpcClient )
delete

◆ register_function_signatures()

void bb::cdb::CdbIpcClient::register_function_signatures ( CdbRegisterFunctionSignatures  cmd)

Definition at line 124 of file cdb_ipc_client_generated.cpp.

◆ revert_checkpoint()

void bb::cdb::CdbIpcClient::revert_checkpoint ( CdbRevertCheckpoint  cmd)

Definition at line 109 of file cdb_ipc_client_generated.cpp.

◆ send()

template<typename Cmd >
Cmd::Response bb::cdb::CdbIpcClient::send ( Cmd &&  cmd) const
private

Definition at line 28 of file cdb_ipc_client_generated.cpp.

◆ shutdown()

void bb::cdb::CdbIpcClient::shutdown ( )

Definition at line 134 of file cdb_ipc_client_generated.cpp.

Member Data Documentation

◆ client_

std::unique_ptr<ipc::IpcClient> bb::cdb::CdbIpcClient::client_
mutableprivate

Definition at line 44 of file cdb_ipc_client_generated.hpp.


The documentation for this class was generated from the following files: