OpenCBDC Transaction Processor
|
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. | |
RPC server for a runtime locking shard.
Definition at line 16 of file parsec/runtime_locking_shard/server.hpp.
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.
logger | log instance. |
impl | pointer to a runtime locking shard implementation. |
repl | pointer to a replicated shard implementation. |
srv | pointer to an asynchronous RPC server. |
Definition at line 11 of file parsec/runtime_locking_shard/server.cpp.