Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etl::impl::Registry< Ps > Class Template Reference
Inheritance diagram for etl::impl::Registry< Ps >:
Collaboration diagram for etl::impl::Registry< Ps >:

Public Member Functions

constexpr Registry (SystemState const &state, SomeExtension auto &&... exts)
 Registry (Registry const &)=delete
 Registry (Registry &&)=default
Registry & operator= (Registry const &)=delete
Registry & operator= (Registry &&)=default
constexpr void dispatch (model::LedgerData const &data) override
 Dispatch an entire ledger diff.
constexpr void dispatchInitialObjects (uint32_t seq, std::vector< model::Object > const &data, std::string lastKey) override
 Dispatch initial objects.
constexpr void dispatchInitialData (model::LedgerData const &data) override
 Dispatch initial ledger data.

Member Function Documentation

◆ dispatch()

template<SomeExtension... Ps>
void etl::impl::Registry< Ps >::dispatch ( model::LedgerData const & data)
inlineconstexproverridevirtual

Dispatch an entire ledger diff.

This is used to dispatch incoming diffs through the extensions.

Parameters
dataThe data to dispatch

Implements etl::RegistryInterface.

◆ dispatchInitialData()

template<SomeExtension... Ps>
void etl::impl::Registry< Ps >::dispatchInitialData ( model::LedgerData const & data)
inlineconstexproverridevirtual

Dispatch initial ledger data.

The transactions, header and edge keys are received during initial ledger load.

Parameters
dataThe data to dispatch

Implements etl::RegistryInterface.

◆ dispatchInitialObjects()

template<SomeExtension... Ps>
void etl::impl::Registry< Ps >::dispatchInitialObjects ( uint32_t seq,
std::vector< model::Object > const & data,
std::string lastKey )
inlineconstexproverridevirtual

Dispatch initial objects.

These objects are received during initial ledger load.

Parameters
seqThe sequence
dataThe objects to dispatch
lastKeyThe predcessor of the first object in data if known; an empty string otherwise

Implements etl::RegistryInterface.


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