Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etlng::LedgerPublisherInterface Struct Referenceabstract

The interface of a scheduler for the extraction proccess. More...

#include <LedgerPublisherInterface.hpp>

Public Member Functions

virtual void publish (uint32_t seq, std::optional< uint32_t > maxAttempts, std::chrono::steady_clock::duration attemptsDelay=std::chrono::seconds{1})=0
 Publish the ledger by its sequence number.
 

Detailed Description

The interface of a scheduler for the extraction proccess.

Member Function Documentation

◆ publish()

virtual void etlng::LedgerPublisherInterface::publish ( uint32_t seq,
std::optional< uint32_t > maxAttempts,
std::chrono::steady_clock::duration attemptsDelay = std::chrono::seconds{1} )
pure virtual

Publish the ledger by its sequence number.

Parameters
seqThe sequence number of the ledger
maxAttemptsThe maximum number of attempts to publish the ledger; no limit if nullopt
attemptsDelayThe delay between attempts

The documentation for this struct was generated from the following file: