43 std::shared_ptr<BackendInterface> backend_;
44 std::shared_ptr<etl::NetworkValidatedLedgersInterface> validatedLedgers_;
46 uint32_t nextSequence_;
47 std::optional<util::async::AnyOperation<void>> repeatedTask_;
48 std::optional<boost::signals2::scoped_connection> subscription_;
50 SignalType notificationChannel_;
57 std::shared_ptr<BackendInterface> backend,
58 std::shared_ptr<etl::NetworkValidatedLedgersInterface> validatedLedgers,
59 uint32_t startSequence
64 run(std::chrono::steady_clock::duration repeatInterval)
override;
69 boost::signals2::scoped_connection
70 subscribe(SignalType::slot_type
const& subscriber)
override;
74 onNextSequence(uint32_t seq);
boost::signals2::scoped_connection subscribe(SignalType::slot_type const &subscriber) override
Allows clients to get notified when a new ledger becomes available in Clio's database.
Definition Monitor.cpp:78
A type-erased execution context.
Definition AnyExecutionContext.hpp:41