xrpld
Loading...
Searching...
No Matches
SourceStrings.h
1#pragma once
2
3#include <xrpld/peerfinder/detail/Source.h>
4
5#include <memory>
6
7namespace xrpl::PeerFinder {
8
10class SourceStrings : public Source
11{
12public:
13 explicit SourceStrings() = default;
14
16
18 make(std::string const& name, Strings const& strings);
19};
20
21} // namespace xrpl::PeerFinder
static std::shared_ptr< Source > make(std::string const &name, Strings const &strings)
std::vector< std::string > Strings
A static or dynamic source of peer addresses.
Definition Source.h:18
virtual std::string const & name()=0