xrpld
Loading...
Searching...
No Matches
xrpl::PeerFinder::detail::LivecacheBase Class Reference

#include <Livecache.h>

Inheritance diagram for xrpl::PeerFinder::detail::LivecacheBase:

Classes

struct  Element
class  Hop
 A list of Endpoint at the same hops This is a lightweight wrapper around a reference to the underlying container. More...

Public Member Functions

 LivecacheBase ()=default

Protected Types

using list_type

Static Protected Member Functions

template<bool IsConst>
static Hop< IsConst > makeHop (beast::MaybeConst< IsConst, list_type >::type &list)

Detailed Description

Definition at line 25 of file Livecache.h.

Member Typedef Documentation

◆ list_type

Initial value:
boost::intrusive::make_list<Element, boost::intrusive::constant_time_size<false>>::type

Definition at line 40 of file Livecache.h.

Constructor & Destructor Documentation

◆ LivecacheBase()

xrpl::PeerFinder::detail::LivecacheBase::LivecacheBase ( )
explicitdefault

Member Function Documentation

◆ makeHop()

template<bool IsConst>
Hop< IsConst > xrpl::PeerFinder::detail::LivecacheBase::makeHop ( beast::MaybeConst< IsConst, list_type >::type & list)
staticprotected

Definition at line 148 of file Livecache.h.