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

Public Member Functions

constexpr Registry (SomeExtension auto &&... exts)
 
 Registry (Registry const &)=delete
 
 Registry (Registry &&)=default
 
Registryoperator= (Registry const &)=delete
 
Registryoperator= (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.
 
- Public Member Functions inherited from etlng::RegistryInterface

Member Function Documentation

◆ dispatch()

template<SomeExtension... Ps>
void etlng::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 etlng::RegistryInterface.

◆ dispatchInitialData()

template<SomeExtension... Ps>
void etlng::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 etlng::RegistryInterface.

◆ dispatchInitialObjects()

template<SomeExtension... Ps>
void etlng::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 etlng::RegistryInterface.


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