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