|
OpenCBDC Transaction Processor
|
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. | |
Asynchronous RPC server for a sentinel.
Definition at line 16 of file uhs/twophase/sentinel_2pc/server.hpp.
| 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.
| impl | pointer to a sentinel implementation. |
| srv | pointer 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().
