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

RPC server for a coordinator. More...

#include <server.hpp>

Public Member Functions

 server (interface *impl, std::unique_ptr< cbdc::rpc::async_server< request, response > > srv)
 Constructor.
 

Detailed Description

RPC server for a coordinator.

Definition at line 15 of file uhs/twophase/coordinator/server.hpp.

Constructor & Destructor Documentation

◆ server()

cbdc::coordinator::rpc::server::server ( interface * impl,
std::unique_ptr< cbdc::rpc::async_server< request, response > > srv )

Constructor.

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

Parameters
implpointer to a coordinator implementation.
srvpointer to an asynchronous RPC server.

Definition at line 9 of file uhs/twophase/coordinator/server.cpp.

References cbdc::coordinator::interface::execute_transaction().

Here is the call graph for this function:

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