Clio
develop
The XRP Ledger API server.
Theme:
Default
Round
Robot
Toggle main menu visibility
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
9
namespace
etl {
10
54
struct
RegistryInterface
{
55
virtual
~RegistryInterface
() =
default
;
56
66
virtual
void
67
dispatchInitialObjects
(
68
uint32_t seq,
69
std::vector<model::Object>
const
&
data
,
70
std::string lastKey
71
) = 0;
72
80
virtual
void
81
dispatchInitialData
(
model::LedgerData
const
&
data
) = 0;
82
90
virtual
void
91
dispatch
(
model::LedgerData
const
&
data
) = 0;
92
};
93
94
}
// namespace etl
data
This namespace implements the data access layer and related components.
Definition
AmendmentCenter.cpp:56
etl::RegistryInterface
The interface for a registry that can dispatch transactions and objects to extensions.
Definition
RegistryInterface.hpp:54
etl::RegistryInterface::dispatchInitialData
virtual void dispatchInitialData(model::LedgerData const &data)=0
Dispatch initial ledger data.
etl::RegistryInterface::dispatchInitialObjects
virtual void dispatchInitialObjects(uint32_t seq, std::vector< model::Object > const &data, std::string lastKey)=0
Dispatch initial objects.
etl::RegistryInterface::dispatch
virtual void dispatch(model::LedgerData const &data)=0
Dispatch an entire ledger diff.
etl::model::LedgerData
Represents an entire ledger diff worth of transactions and objects.
Definition
Models.hpp:124
src
etl
RegistryInterface.hpp
Generated by
1.17.0