Clio
develop
The XRP Ledger API server.
Theme:
Default
Round
Robot
Toggle main menu visibility
Loading...
Searching...
No Matches
InitialLoadObserverInterface.hpp
1
#pragma once
2
3
#include "etl/Models.hpp"
4
5
#include <xrpl/protocol/LedgerHeader.h>
6
7
#include <cstdint>
8
#include <optional>
9
#include <string>
10
#include <vector>
11
12
namespace
etl {
13
17
struct
InitialLoadObserverInterface
{
18
virtual
~InitialLoadObserverInterface
() =
default
;
19
27
virtual
void
28
onInitialLoadGotMoreObjects
(
29
uint32_t seq,
30
std::vector<model::Object>
const
&
data
,
31
std::optional<std::string> lastKey = std::nullopt
32
) = 0;
33
};
34
35
}
// namespace etl
data
This namespace implements the data access layer and related components.
Definition
AmendmentCenter.cpp:56
etl::InitialLoadObserverInterface
The interface for observing the initial ledger load.
Definition
InitialLoadObserverInterface.hpp:17
etl::InitialLoadObserverInterface::onInitialLoadGotMoreObjects
virtual void onInitialLoadGotMoreObjects(uint32_t seq, std::vector< model::Object > const &data, std::optional< std::string > lastKey=std::nullopt)=0
Callback for each incoming batch of objects during initial ledger load.
src
etl
InitialLoadObserverInterface.hpp
Generated by
1.17.0