OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::sentinel::rpc::async_server Class Reference

Asynchronous RPC server for a sentinel. More...

#include <server.hpp>

Public Member Functions

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

Detailed Description

Asynchronous RPC server for a sentinel.

Definition at line 16 of file uhs/twophase/sentinel_2pc/server.hpp.

Constructor & Destructor Documentation

◆ async_server()

cbdc::sentinel::rpc::async_server::async_server ( async_interface * impl,
std::unique_ptr< cbdc::rpc::async_server< request, response > > srv )

Constructor.

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

Parameters
implpointer to a sentinel implementation.
srvpointer to a asynchronous RPC server.

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

References cbdc::sentinel::async_interface::execute_transaction(), and cbdc::sentinel::async_interface::validate_transaction().

Here is the call graph for this function:

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