25 std::shared_ptr<logging::log> logger,
26 std::shared_ptr<interface>
impl,
27 std::shared_ptr<replicated_shard_interface> repl,
31 std::shared_ptr<logging::log> m_log;
32 std::shared_ptr<interface> m_impl;
33 std::shared_ptr<replicated_shard_interface> m_repl;
34 std::unique_ptr<cbdc::rpc::async_server<request, response>> m_srv;
36 using callback_type = std::function<void(std::optional<response>)>;
38 auto handler_callback(
const request& req, callback_type callback)
43 const callback_type& callback);
47 const callback_type& callback);
51 const callback_type& callback);
55 const callback_type& callback);