Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
RegistryInterface.hpp
1#pragma once
2
3#include "etl/Models.hpp"
4
5#include <cstdint>
6#include <string>
7#include <vector>
8
9namespace etl {
10
55 virtual ~RegistryInterface() = default;
56
66 virtual void
68 uint32_t seq,
69 std::vector<model::Object> const& data,
70 std::string lastKey
71 ) = 0;
72
80 virtual void
82
90 virtual void
92};
93
94} // namespace etl
This namespace implements the data access layer and related components.
Definition AmendmentCenter.cpp:56
The interface for a registry that can dispatch transactions and objects to extensions.
Definition RegistryInterface.hpp:54
virtual void dispatchInitialData(model::LedgerData const &data)=0
Dispatch initial ledger data.
virtual void dispatchInitialObjects(uint32_t seq, std::vector< model::Object > const &data, std::string lastKey)=0
Dispatch initial objects.
virtual void dispatch(model::LedgerData const &data)=0
Dispatch an entire ledger diff.
Represents an entire ledger diff worth of transactions and objects.
Definition Models.hpp:124