OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::parsec::runtime_locking_shard::rpc::server Class Reference

RPC server for a runtime locking shard. More...

#include <server.hpp>

Public Member Functions

 server (std::shared_ptr< logging::log > logger, std::shared_ptr< interface > impl, std::shared_ptr< replicated_shard_interface > repl, std::unique_ptr< cbdc::rpc::async_server< request, response > > srv)
 Constructor.
 

Detailed Description

RPC server for a runtime locking shard.

Definition at line 16 of file parsec/runtime_locking_shard/server.hpp.

Constructor & Destructor Documentation

◆ server()

cbdc::parsec::runtime_locking_shard::rpc::server::server ( std::shared_ptr< logging::log > logger,
std::shared_ptr< interface > impl,
std::shared_ptr< replicated_shard_interface > repl,
std::unique_ptr< cbdc::rpc::async_server< request, response > > srv )

Constructor.

Registers the shard implementation with the RPC server using a request handler callback.

Parameters
loggerlog instance.
implpointer to a runtime locking shard implementation.
replpointer to a replicated shard implementation.
srvpointer to an asynchronous RPC server.

Definition at line 11 of file parsec/runtime_locking_shard/server.cpp.


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