xrpld
Loading...
Searching...
No Matches
xrpl::PeerFinder::PeerFinder_test::TestStore Struct Reference
Inheritance diagram for xrpl::PeerFinder::PeerFinder_test::TestStore:
Collaboration diagram for xrpl::PeerFinder::PeerFinder_test::TestStore:

Public Types

using load_callback = std::function<void(beast::IP::Endpoint, int)>

Public Member Functions

std::size_t load (load_callback const &cb) override
void save (std::vector< Entry > const &) override

Detailed Description

Definition at line 37 of file PeerFinder_test.cpp.

Member Typedef Documentation

◆ load_callback

Definition at line 12 of file Store.h.

Member Function Documentation

◆ load()

std::size_t xrpl::PeerFinder::PeerFinder_test::TestStore::load ( load_callback const & cb)
overridevirtual

Implements xrpl::PeerFinder::Store.

Definition at line 40 of file PeerFinder_test.cpp.

◆ save()

void xrpl::PeerFinder::PeerFinder_test::TestStore::save ( std::vector< Entry > const & )
overridevirtual

Implements xrpl::PeerFinder::Store.

Definition at line 46 of file PeerFinder_test.cpp.