rippled
Public Types | Public Member Functions | List of all members
ripple::PeerFinder::PeerFinder_test::TestStore Struct Reference
Inheritance diagram for ripple::PeerFinder::PeerFinder_test::TestStore:
Inheritance graph
[legend]
Collaboration diagram for ripple::PeerFinder::PeerFinder_test::TestStore:
Collaboration graph
[legend]

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 41 of file PeerFinder_test.cpp.

Member Typedef Documentation

◆ load_callback

Definition at line 35 of file Store.h.

Member Function Documentation

◆ load()

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

Implements ripple::PeerFinder::Store.

Definition at line 44 of file PeerFinder_test.cpp.

◆ save()

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

Implements ripple::PeerFinder::Store.

Definition at line 50 of file PeerFinder_test.cpp.