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