20 #include <ripple/peerfinder/impl/SourceStrings.h>
23 namespace PeerFinder {
50 if (is_unspecified(ep))
52 if (!is_unspecified(ep))
67 return std::make_shared<SourceStringsImp>(
name, strings);
virtual std::string const & name()=0
SourceStringsImp(std::string const &name, Strings const &strings)
std::vector< std::string > Strings
~SourceStringsImp()=default
std::string const & name() override
A generic endpoint for log messages.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Provides addresses from a static set of strings.
static Endpoint from_string(std::string const &s)
void fetch(Results &results, beast::Journal journal) override
A version-independent IP address and port combination.
static std::shared_ptr< Source > New(std::string const &name, Strings const &strings)