Files
rippled/PeerfinderManager_8cpp_source.html
2025-09-18 10:58:55 -07:00

533 lines
110 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: PeerfinderManager.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_89046728185f0c274a4164d3e2cb38fb.html">peerfinder</a></li><li class="navelem"><a class="el" href="dir_e9607b4c59cebecf2224e361d8d6d362.html">detail</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">PeerfinderManager.cpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">/*</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"></span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"></span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include &lt;xrpld/peerfinder/PeerfinderManager.h&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include &lt;xrpld/peerfinder/detail/Checker.h&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include &lt;xrpld/peerfinder/detail/Logic.h&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;xrpld/peerfinder/detail/SourceStrings.h&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;xrpld/peerfinder/detail/StoreSqdb.h&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;boost/asio/executor_work_guard.hpp&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;boost/asio/io_context.hpp&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a>&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a>&gt;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">namespace </span>PeerFinder {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="foldopen" id="foldopen00035" data-start="{" data-end="};">
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html"> 35</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1PeerFinder_1_1ManagerImp.html">ManagerImp</a> : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1PeerFinder_1_1Manager.html">Manager</a></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>{</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a85b57bdb957b9db20c4f506676f4339f"> 38</a></span> boost::asio::io_context&amp; <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a85b57bdb957b9db20c4f506676f4339f">io_context_</a>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;boost::asio::executor_work_guard&lt;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> boost::asio::io_context::executor_type&gt;&gt;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac4c5548dbce0ad94892e2e8ad7eab8a1"> 41</a></span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac4c5548dbce0ad94892e2e8ad7eab8a1">work_</a>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a813ab1be0cbd689a0d4ccf7c0d62d275"> 42</a></span> <a class="code hl_class" href="classbeast_1_1abstract__clock.html">clock_type</a>&amp; <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a813ab1be0cbd689a0d4ccf7c0d62d275">m_clock</a>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a52f48e694eef6df00e8195ddf0bae546"> 43</a></span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a52f48e694eef6df00e8195ddf0bae546">m_journal</a>;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a49200aebb924a25cc44db1e32df67e02"> 44</a></span> <a class="code hl_class" href="classripple_1_1PeerFinder_1_1StoreSqdb.html">StoreSqdb</a> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a49200aebb924a25cc44db1e32df67e02">m_store</a>;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4a2476b15afa76c6416db526109f4bd6"> 45</a></span> <a class="code hl_class" href="classripple_1_1PeerFinder_1_1Checker.html">Checker&lt;boost::asio::ip::tcp&gt;</a> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4a2476b15afa76c6416db526109f4bd6">checker_</a>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb"> 46</a></span> <a class="code hl_class" href="classripple_1_1PeerFinder_1_1Logic.html">Logic</a>&lt;<span class="keyword">decltype</span>(<a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4a2476b15afa76c6416db526109f4bd6">checker_</a>)&gt; <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac7d63ce07c3426d0f20b884b79af47d3"> 47</a></span> <a class="code hl_class" href="classripple_1_1BasicConfig.html">BasicConfig</a> <span class="keyword">const</span>&amp; <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac7d63ce07c3426d0f20b884b79af47d3">m_config</a>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="foldopen" id="foldopen00051" data-start="{" data-end="}">
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a7b11202f18a86370a5d43a02e880dd0c"> 51</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a7b11202f18a86370a5d43a02e880dd0c">ManagerImp</a>(</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> boost::asio::io_context&amp; io_context,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_class" href="classbeast_1_1abstract__clock.html">clock_type</a>&amp; clock,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_class" href="classripple_1_1BasicConfig.html">BasicConfig</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#acac935d3db78d6033a0095f161422cc1">config</a>,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">beast::insight::Collector::ptr</a> <span class="keyword">const</span>&amp; collector)</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> : <a class="code hl_class" href="classripple_1_1PeerFinder_1_1Manager.html">Manager</a>()</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a85b57bdb957b9db20c4f506676f4339f">io_context_</a>(io_context)</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac4c5548dbce0ad94892e2e8ad7eab8a1">work_</a>(<a class="code hl_namespace" href="namespacestd.html">std</a>::in_place, <a class="code hl_namespace" href="namespaceboost.html">boost</a>::asio::make_work_guard(<a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a85b57bdb957b9db20c4f506676f4339f">io_context_</a>))</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a813ab1be0cbd689a0d4ccf7c0d62d275">m_clock</a>(clock)</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a52f48e694eef6df00e8195ddf0bae546">m_journal</a>(journal)</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a49200aebb924a25cc44db1e32df67e02">m_store</a>(journal)</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4a2476b15afa76c6416db526109f4bd6">checker_</a>(<a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a85b57bdb957b9db20c4f506676f4339f">io_context_</a>)</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>(clock, <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a49200aebb924a25cc44db1e32df67e02">m_store</a>, <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4a2476b15afa76c6416db526109f4bd6">checker_</a>, journal)</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac7d63ce07c3426d0f20b884b79af47d3">m_config</a>(<a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#acac935d3db78d6033a0095f161422cc1">config</a>)</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> , <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9eb332e2bbfec55616abbe35c751c995">m_stats</a>(<a class="code hl_namespace" href="namespacestd.html">std</a>::bind(&amp;<a class="code hl_class" href="classripple_1_1PeerFinder_1_1ManagerImp.html">ManagerImp</a>::<a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4357710d1ce7751653ad1123ca42271d">collect_metrics</a>, this), collector)</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> {</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> }</div>
</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="foldopen" id="foldopen00070" data-start="{" data-end="}">
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a1a156a760dc9fa9ec5151ed7f1892092"> 70</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a1a156a760dc9fa9ec5151ed7f1892092">~ManagerImp</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a183e2c26276081c6684b0f65c830e063">stop</a>();</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> }</div>
</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00076" data-start="{" data-end="}">
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a183e2c26276081c6684b0f65c830e063"> 76</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a183e2c26276081c6684b0f65c830e063">stop</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac4c5548dbce0ad94892e2e8ad7eab8a1">work_</a>)</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> {</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac4c5548dbce0ad94892e2e8ad7eab8a1">work_</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/utility/optional/reset.html">reset</a>();</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4a2476b15afa76c6416db526109f4bd6">checker_</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Checker.html#a80ab76729ee78f258eeb0c952c50d674">stop</a>();</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a0b1d5e6623cdc587875dace2d7af93e7">stop</a>();</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> }</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> }</div>
</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="comment">//</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="comment">// PeerFinder</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="comment">//</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00093" data-start="{" data-end="}">
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#abf2ab8c369f806ad780ffc2cb198fdc1"> 93</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#abf2ab8c369f806ad780ffc2cb198fdc1">setConfig</a>(<a class="code hl_struct" href="structripple_1_1PeerFinder_1_1Config.html">Config</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#acac935d3db78d6033a0095f161422cc1">config</a>)<span class="keyword"> override</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#af9caa5f123b38c830b535f1d64b810dc">config</a>(<a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#acac935d3db78d6033a0095f161422cc1">config</a>);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> }</div>
</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <a class="code hl_struct" href="structripple_1_1PeerFinder_1_1Config.html">Config</a></div>
<div class="foldopen" id="foldopen00099" data-start="{" data-end="}">
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#acac935d3db78d6033a0095f161422cc1"> 99</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#acac935d3db78d6033a0095f161422cc1">config</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#af9caa5f123b38c830b535f1d64b810dc">config</a>();</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> }</div>
</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00105" data-start="{" data-end="}">
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a06be604d80043a7f809ccd7198f40f31"> 105</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a06be604d80043a7f809ccd7198f40f31">addFixedPeer</a>(</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>,</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;beast::IP::Endpoint&gt;</a> <span class="keyword">const</span>&amp; addresses)<span class="keyword"> override</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#ae42e629c10d34bbacc989401fab3f720">addFixedPeer</a>(<a class="code hl_function" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, addresses);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> }</div>
</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00113" data-start="{" data-end="}">
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a1290e864b0681f8d6763800bf28ec8aa"> 113</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a1290e864b0681f8d6763800bf28ec8aa">addFallbackStrings</a>(</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>,</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; strings)<span class="keyword"> override</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#aa51d139903531e663640d77b962bd390">addStaticSource</a>(<a class="code hl_function" href="classripple_1_1PeerFinder_1_1SourceStrings.html#a192adc9607629f4cb4ec73bba647b30c">SourceStrings::New</a>(<a class="code hl_function" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, strings));</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> }</div>
</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00121" data-start="{" data-end="}">
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9f892232f9a295630e51cc03737a1fd8"> 121</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9f892232f9a295630e51cc03737a1fd8">addFallbackURL</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; url)</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> {</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="comment">// VFALCO TODO This needs to be implemented</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> }</div>
</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;std::shared_ptr&lt;Slot&gt;</a>, <a class="code hl_enumeration" href="namespaceripple_1_1PeerFinder.html#ae15e107cb3b0b67dbf43bd4a0a229c15">Result</a>&gt;</div>
<div class="foldopen" id="foldopen00129" data-start="{" data-end="}">
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a12b9d06a0d1f0dff722fe6235031c1fe"> 129</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a12b9d06a0d1f0dff722fe6235031c1fe">new_inbound_slot</a>(</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <a class="code hl_class" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> <span class="keyword">const</span>&amp; local_endpoint,</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <a class="code hl_class" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> <span class="keyword">const</span>&amp; remote_endpoint)<span class="keyword"> override</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a6cdf7d168d8b64e066e218678fbe26b2">new_inbound_slot</a>(local_endpoint, remote_endpoint);</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> }</div>
</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;std::shared_ptr&lt;Slot&gt;</a>, <a class="code hl_enumeration" href="namespaceripple_1_1PeerFinder.html#ae15e107cb3b0b67dbf43bd4a0a229c15">Result</a>&gt;</div>
<div class="foldopen" id="foldopen00137" data-start="{" data-end="}">
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a2ce8b6e29e0d7d0660fa9bd371750d24"> 137</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a2ce8b6e29e0d7d0660fa9bd371750d24">new_outbound_slot</a>(<a class="code hl_class" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> <span class="keyword">const</span>&amp; remote_endpoint)<span class="keyword"> override</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#aceddbdeb062012fc4c95180b8210c214">new_outbound_slot</a>(remote_endpoint);</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> }</div>
</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00143" data-start="{" data-end="}">
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#af05f7bde1f04d25148cdb6b7d936d99c"> 143</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#af05f7bde1f04d25148cdb6b7d936d99c">on_endpoints</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Slot&gt;</a> <span class="keyword">const</span>&amp; slot, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Endpoints</a> <span class="keyword">const</span>&amp; endpoints)<span class="keyword"></span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span><span class="keyword"> override</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">SlotImp::ptr</a> impl(<a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::dynamic_pointer_cast&lt;SlotImp&gt;</a>(slot));</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#aa34319e5e04dc1fccd18b14ceadf68bb">on_endpoints</a>(impl, endpoints);</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> }</div>
</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00151" data-start="{" data-end="}">
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a0b581151bf586fa9f1b64d250e947358"> 151</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a0b581151bf586fa9f1b64d250e947358">on_closed</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Slot&gt;</a> <span class="keyword">const</span>&amp; slot)<span class="keyword"> override</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">SlotImp::ptr</a> impl(<a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::dynamic_pointer_cast&lt;SlotImp&gt;</a>(slot));</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a31f8cf137e2aa6e827f49bee762591a3">on_closed</a>(impl);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> }</div>
</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00158" data-start="{" data-end="}">
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a493009acac1a9bccd55d84632796f0d0"> 158</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a493009acac1a9bccd55d84632796f0d0">on_failure</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Slot&gt;</a> <span class="keyword">const</span>&amp; slot)<span class="keyword"> override</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">SlotImp::ptr</a> impl(<a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::dynamic_pointer_cast&lt;SlotImp&gt;</a>(slot));</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a45b4a06dd369f646422fe3609921b653">on_failure</a>(impl);</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> }</div>
</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00165" data-start="{" data-end="}">
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ad650e898bfe237cb04ff6c67bdf2cf0d"> 165</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ad650e898bfe237cb04ff6c67bdf2cf0d">onRedirects</a>(</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> boost::asio::ip::tcp::endpoint <span class="keyword">const</span>&amp; remote_address,</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;boost::asio::ip::tcp::endpoint&gt;</a> <span class="keyword">const</span>&amp; eps)<span class="keyword"> override</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a9d44d9f8f30da541c8742feb3e2de894">onRedirects</a>(eps.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/begin.html">begin</a>(), eps.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/end.html">end</a>(), remote_address);</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> }</div>
</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00175" data-start="{" data-end="}">
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a65a49b97b14433a3fe61f94654ce2b5f"> 175</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a65a49b97b14433a3fe61f94654ce2b5f">onConnected</a>(</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Slot&gt;</a> <span class="keyword">const</span>&amp; slot,</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <a class="code hl_class" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> <span class="keyword">const</span>&amp; local_endpoint)<span class="keyword"> override</span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">SlotImp::ptr</a> impl(<a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::dynamic_pointer_cast&lt;SlotImp&gt;</a>(slot));</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a26436b866efc1f7f761b13385a13e2e2">onConnected</a>(impl, local_endpoint);</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> }</div>
</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> </div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <a class="code hl_enumeration" href="namespaceripple_1_1PeerFinder.html#ae15e107cb3b0b67dbf43bd4a0a229c15">Result</a></div>
<div class="foldopen" id="foldopen00184" data-start="{" data-end="}">
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#afd752afc44b01916041577fa7c6c8816"> 184</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#afd752afc44b01916041577fa7c6c8816">activate</a>(</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Slot&gt;</a> <span class="keyword">const</span>&amp; slot,</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>&amp; key,</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keywordtype">bool</span> reserved)<span class="keyword"> override</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">SlotImp::ptr</a> impl(<a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::dynamic_pointer_cast&lt;SlotImp&gt;</a>(slot));</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a596f7cc512ca9c9aa0ffe39a9e3959e7">activate</a>(impl, key, reserved);</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> }</div>
</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;Endpoint&gt;</a></div>
<div class="foldopen" id="foldopen00194" data-start="{" data-end="}">
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ad9124d4ae0e347ed95feb400d591996b"> 194</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ad9124d4ae0e347ed95feb400d591996b">redirect</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Slot&gt;</a> <span class="keyword">const</span>&amp; slot)<span class="keyword"> override</span></div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">SlotImp::ptr</a> impl(<a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::dynamic_pointer_cast&lt;SlotImp&gt;</a>(slot));</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#aedefbd4030c297bead523f0a2ba89aa4">redirect</a>(impl);</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> }</div>
</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;beast::IP::Endpoint&gt;</a></div>
<div class="foldopen" id="foldopen00201" data-start="{" data-end="}">
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a264d954acfa415a11ad5a7722becd285"> 201</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a264d954acfa415a11ad5a7722becd285">autoconnect</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a8324dce01532c639ece8cc9b7a550b85">autoconnect</a>();</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> }</div>
</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00207" data-start="{" data-end="}">
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9818b2efc99a9d862f01c900835b1f98"> 207</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9818b2efc99a9d862f01c900835b1f98">once_per_second</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#aa8c245c6a86c024ccafc1b4bb7d57592">once_per_second</a>();</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> }</div>
</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> </div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::pair&lt;std::shared_ptr&lt;Slot&gt;</a>, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;Endpoint&gt;</a>&gt;&gt;</div>
<div class="foldopen" id="foldopen00213" data-start="{" data-end="}">
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a021ce90133c31cc339ba7ea142bd6790"> 213</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a021ce90133c31cc339ba7ea142bd6790">buildEndpointsForPeers</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a30d39efd33aea42c108e8974d9fccd68">buildEndpointsForPeers</a>();</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> }</div>
</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00219" data-start="{" data-end="}">
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#af0b8f084b921feed8362fba55c67c1c2"> 219</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#af0b8f084b921feed8362fba55c67c1c2">start</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a49200aebb924a25cc44db1e32df67e02">m_store</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1StoreSqdb.html#a8ef9e1792c3ede7583beaf680a86a757">open</a>(<a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac7d63ce07c3426d0f20b884b79af47d3">m_config</a>);</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a44f12287839953f538e2461daa795966">load</a>();</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> }</div>
</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <span class="comment">//</span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="comment">// PropertyStream</span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> <span class="comment">//</span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00232" data-start="{" data-end="}">
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a870c8e53e39d362015e4b165fa0be489"> 232</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a870c8e53e39d362015e4b165fa0be489">onWrite</a>(<a class="code hl_class" href="classbeast_1_1PropertyStream_1_1Map.html">beast::PropertyStream::Map</a>&amp; map)<span class="keyword"> override</span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Logic.html#a234bdeb63700199f9beba710c760ff4c">onWrite</a>(map);</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> }</div>
</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span><span class="keyword">private</span>:</div>
<div class="foldopen" id="foldopen00238" data-start="{" data-end="};">
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"><a class="line" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html"> 238</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html">Stats</a></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> {</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> <span class="keyword">template</span> &lt;<span class="keyword">class</span> Handler&gt;</div>
<div class="foldopen" id="foldopen00241" data-start="{" data-end="}">
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"><a class="line" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#ade1fbd3909145e229e37ed5705c4eeec"> 241</a></span> <a class="code hl_function" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#ade1fbd3909145e229e37ed5705c4eeec">Stats</a>(</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> Handler <span class="keyword">const</span>&amp; handler,</div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">beast::insight::Collector::ptr</a> <span class="keyword">const</span>&amp; collector)</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> : <a class="code hl_variable" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a8d389bd9d03113b28be3e8f7afe14f35">hook</a>(collector-&gt;make_hook(handler))</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> , <a class="code hl_variable" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a43d35cc2783065273b47b72ebdc30188">activeInboundPeers</a>(</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> collector-&gt;make_gauge(<span class="stringliteral">&quot;Peer_Finder&quot;</span>, <span class="stringliteral">&quot;Active_Inbound_Peers&quot;</span>))</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> , <a class="code hl_variable" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a17c773054f863fd77999c3869cd64b14">activeOutboundPeers</a>(</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> collector-&gt;make_gauge(<span class="stringliteral">&quot;Peer_Finder&quot;</span>, <span class="stringliteral">&quot;Active_Outbound_Peers&quot;</span>))</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> {</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> }</div>
</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a8d389bd9d03113b28be3e8f7afe14f35"> 252</a></span> <a class="code hl_class" href="classbeast_1_1insight_1_1Hook.html">beast::insight::Hook</a> <a class="code hl_variable" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a8d389bd9d03113b28be3e8f7afe14f35">hook</a>;</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a43d35cc2783065273b47b72ebdc30188"> 253</a></span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a> <a class="code hl_variable" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a43d35cc2783065273b47b72ebdc30188">activeInboundPeers</a>;</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a17c773054f863fd77999c3869cd64b14"> 254</a></span> <a class="code hl_class" href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a> <a class="code hl_variable" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a17c773054f863fd77999c3869cd64b14">activeOutboundPeers</a>;</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> };</div>
</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a99aae90a545b224f03e670cd79fb44d0"> 257</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a99aae90a545b224f03e670cd79fb44d0">m_statsMutex</a>;</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9eb332e2bbfec55616abbe35c751c995"> 258</a></span> <a class="code hl_struct" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html">Stats</a> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9eb332e2bbfec55616abbe35c751c995">m_stats</a>;</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> </div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00261" data-start="{" data-end="}">
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4357710d1ce7751653ad1123ca42271d"> 261</a></span> <a class="code hl_function" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4357710d1ce7751653ad1123ca42271d">collect_metrics</a>()</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> {</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a99aae90a545b224f03e670cd79fb44d0">m_statsMutex</a>);</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9eb332e2bbfec55616abbe35c751c995">m_stats</a>.<a class="code hl_variable" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a43d35cc2783065273b47b72ebdc30188">activeInboundPeers</a> = <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_variable" href="classripple_1_1PeerFinder_1_1Logic.html#a5ae23cfe8dc80e711aa216b9401b562c">counts_</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Counts.html#a51961e19c9b862fc1aad3f87c6c36d68">inboundActive</a>();</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9eb332e2bbfec55616abbe35c751c995">m_stats</a>.<a class="code hl_variable" href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a17c773054f863fd77999c3869cd64b14">activeOutboundPeers</a> = <a class="code hl_variable" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">m_logic</a>.<a class="code hl_variable" href="classripple_1_1PeerFinder_1_1Logic.html#a5ae23cfe8dc80e711aa216b9401b562c">counts_</a>.<a class="code hl_function" href="classripple_1_1PeerFinder_1_1Counts.html#a5079e7463648892f9b3b89c170eca739">out_active</a>();</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> }</div>
</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span>};</div>
</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> </div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> </div>
<div class="foldopen" id="foldopen00271" data-start="{" data-end="}">
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"><a class="line" href="classripple_1_1PeerFinder_1_1Manager.html#a2b8a107886f5579757d64c6548d4d25c"> 271</a></span><a class="code hl_function" href="classripple_1_1PeerFinder_1_1Manager.html#a2b8a107886f5579757d64c6548d4d25c">Manager::Manager</a>() noexcept : <a class="code hl_namespace" href="namespacebeast.html">beast</a>::PropertyStream::<a class="code hl_class" href="classripple_1_1PeerFinder_1_1Source.html">Source</a>(&quot;peerfinder&quot;)</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span>{</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span>}</div>
</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;Manager&gt;</a></div>
<div class="foldopen" id="foldopen00276" data-start="{" data-end="}">
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"><a class="line" href="namespaceripple_1_1PeerFinder.html#a30aefa92bae95c80ebae6a669682d3eb"> 276</a></span><a class="code hl_function" href="namespaceripple_1_1PeerFinder.html#a30aefa92bae95c80ebae6a669682d3eb">make_Manager</a>(</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> boost::asio::io_context&amp; io_context,</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <a class="code hl_class" href="classbeast_1_1abstract__clock.html">clock_type</a>&amp; clock,</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal,</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <a class="code hl_class" href="classripple_1_1BasicConfig.html">BasicConfig</a> <span class="keyword">const</span>&amp; config,</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">beast::insight::Collector::ptr</a> <span class="keyword">const</span>&amp; collector)</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span>{</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> <span class="keywordflow">return</span> <a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::make_unique&lt;ManagerImp&gt;</a>(</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> io_context, clock, journal, config, collector);</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span>}</div>
</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> </div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span>} <span class="comment">// namespace PeerFinder</span></div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span>} <span class="comment">// namespace ripple</span></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
<div class="ttc" id="abegin_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/begin.html">std::vector::begin</a></div><div class="ttdeci">T begin(T... args)</div></div>
<div class="ttc" id="aclassbeast_1_1IP_1_1Endpoint_html"><div class="ttname"><a href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a></div><div class="ttdoc">A version-independent IP address and port combination.</div><div class="ttdef"><b>Definition</b> <a href="IPEndpoint_8h_source.html#l00037">IPEndpoint.h:38</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00059">Journal.h:60</a></div></div>
<div class="ttc" id="aclassbeast_1_1PropertyStream_1_1Map_html"><div class="ttname"><a href="classbeast_1_1PropertyStream_1_1Map.html">beast::PropertyStream::Map</a></div><div class="ttdef"><b>Definition</b> <a href="PropertyStream_8h_source.html#l00222">PropertyStream.h:223</a></div></div>
<div class="ttc" id="aclassbeast_1_1PropertyStream_1_1Source_html_a5672372869d3a59c7cd2f7ce3056ae33"><div class="ttname"><a href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">beast::PropertyStream::Source::name</a></div><div class="ttdeci">std::string const &amp; name() const</div><div class="ttdoc">Returns the name of this source.</div><div class="ttdef"><b>Definition</b> <a href="beast__PropertyStream_8cpp_source.html#l00193">beast_PropertyStream.cpp:193</a></div></div>
<div class="ttc" id="aclassbeast_1_1abstract__clock_html"><div class="ttname"><a href="classbeast_1_1abstract__clock.html">beast::abstract_clock&lt; std::chrono::steady_clock &gt;</a></div></div>
<div class="ttc" id="aclassbeast_1_1insight_1_1Gauge_html"><div class="ttname"><a href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a></div><div class="ttdoc">A metric for measuring an integral value.</div><div class="ttdef"><b>Definition</b> <a href="Gauge_8h_source.html#l00039">Gauge.h:40</a></div></div>
<div class="ttc" id="aclassbeast_1_1insight_1_1Hook_html"><div class="ttname"><a href="classbeast_1_1insight_1_1Hook.html">beast::insight::Hook</a></div><div class="ttdoc">A reference to a handler for performing polled collection.</div><div class="ttdef"><b>Definition</b> <a href="Hook_8h_source.html#l00031">Hook.h:32</a></div></div>
<div class="ttc" id="aclassripple_1_1BasicConfig_html"><div class="ttname"><a href="classripple_1_1BasicConfig.html">ripple::BasicConfig</a></div><div class="ttdoc">Holds unparsed configuration information.</div><div class="ttdef"><b>Definition</b> <a href="BasicConfig_8h_source.html#l00217">BasicConfig.h:218</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Checker_html"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Checker.html">ripple::PeerFinder::Checker</a></div><div class="ttdoc">Tests remote listening sockets to make sure they are connectible.</div><div class="ttdef"><b>Definition</b> <a href="Checker_8h_source.html#l00038">Checker.h:39</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Checker_html_a80ab76729ee78f258eeb0c952c50d674"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Checker.html#a80ab76729ee78f258eeb0c952c50d674">ripple::PeerFinder::Checker::stop</a></div><div class="ttdeci">void stop()</div><div class="ttdoc">Stop the service.</div><div class="ttdef"><b>Definition</b> <a href="Checker_8h_source.html#l00183">Checker.h:183</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Counts_html_a5079e7463648892f9b3b89c170eca739"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Counts.html#a5079e7463648892f9b3b89c170eca739">ripple::PeerFinder::Counts::out_active</a></div><div class="ttdeci">int out_active() const</div><div class="ttdoc">Returns the number of outbound peers assigned an open slot.</div><div class="ttdef"><b>Definition</b> <a href="Counts_8h_source.html#l00113">Counts.h:113</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Counts_html_a51961e19c9b862fc1aad3f87c6c36d68"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Counts.html#a51961e19c9b862fc1aad3f87c6c36d68">ripple::PeerFinder::Counts::inboundActive</a></div><div class="ttdeci">int inboundActive() const</div><div class="ttdoc">Returns the number of inbound peers assigned an open slot.</div><div class="ttdef"><b>Definition</b> <a href="Counts_8h_source.html#l00173">Counts.h:173</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html">ripple::PeerFinder::Logic</a></div><div class="ttdoc">The Logic for maintaining the list of Slot addresses.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00053">src/xrpld/peerfinder/detail/Logic.h:54</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a0b1d5e6623cdc587875dace2d7af93e7"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a0b1d5e6623cdc587875dace2d7af93e7">ripple::PeerFinder::Logic::stop</a></div><div class="ttdeci">void stop()</div><div class="ttdoc">Stop the logic.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00143">src/xrpld/peerfinder/detail/Logic.h:143</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a234bdeb63700199f9beba710c760ff4c"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a234bdeb63700199f9beba710c760ff4c">ripple::PeerFinder::Logic::onWrite</a></div><div class="ttdeci">void onWrite(beast::PropertyStream::Map &amp;map)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l01188">src/xrpld/peerfinder/detail/Logic.h:1188</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a26436b866efc1f7f761b13385a13e2e2"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a26436b866efc1f7f761b13385a13e2e2">ripple::PeerFinder::Logic::onConnected</a></div><div class="ttdeci">bool onConnected(SlotImp::ptr const &amp;slot, beast::IP::Endpoint const &amp;local_endpoint)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00358">src/xrpld/peerfinder/detail/Logic.h:358</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a30d39efd33aea42c108e8974d9fccd68"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a30d39efd33aea42c108e8974d9fccd68">ripple::PeerFinder::Logic::buildEndpointsForPeers</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; std::shared_ptr&lt; Slot &gt;, std::vector&lt; Endpoint &gt; &gt; &gt; buildEndpointsForPeers()</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00607">src/xrpld/peerfinder/detail/Logic.h:607</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a31f8cf137e2aa6e827f49bee762591a3"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a31f8cf137e2aa6e827f49bee762591a3">ripple::PeerFinder::Logic::on_closed</a></div><div class="ttdeci">void on_closed(SlotImp::ptr const &amp;slot)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00931">src/xrpld/peerfinder/detail/Logic.h:931</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a44f12287839953f538e2461daa795966"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a44f12287839953f538e2461daa795966">ripple::PeerFinder::Logic::load</a></div><div class="ttdeci">void load()</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00130">src/xrpld/peerfinder/detail/Logic.h:130</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a45b4a06dd369f646422fe3609921b653"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a45b4a06dd369f646422fe3609921b653">ripple::PeerFinder::Logic::on_failure</a></div><div class="ttdeci">void on_failure(SlotImp::ptr const &amp;slot)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00988">src/xrpld/peerfinder/detail/Logic.h:988</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a596f7cc512ca9c9aa0ffe39a9e3959e7"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a596f7cc512ca9c9aa0ffe39a9e3959e7">ripple::PeerFinder::Logic::activate</a></div><div class="ttdeci">Result activate(SlotImp::ptr const &amp;slot, PublicKey const &amp;key, bool reserved)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00399">src/xrpld/peerfinder/detail/Logic.h:399</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a5ae23cfe8dc80e711aa216b9401b562c"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a5ae23cfe8dc80e711aa216b9401b562c">ripple::PeerFinder::Logic::counts_</a></div><div class="ttdeci">Counts counts_</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00079">src/xrpld/peerfinder/detail/Logic.h:79</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a6cdf7d168d8b64e066e218678fbe26b2"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a6cdf7d168d8b64e066e218678fbe26b2">ripple::PeerFinder::Logic::new_inbound_slot</a></div><div class="ttdeci">std::pair&lt; SlotImp::ptr, Result &gt; new_inbound_slot(beast::IP::Endpoint const &amp;local_endpoint, beast::IP::Endpoint const &amp;remote_endpoint)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00263">src/xrpld/peerfinder/detail/Logic.h:263</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a8324dce01532c639ece8cc9b7a550b85"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a8324dce01532c639ece8cc9b7a550b85">ripple::PeerFinder::Logic::autoconnect</a></div><div class="ttdeci">std::vector&lt; beast::IP::Endpoint &gt; autoconnect()</div><div class="ttdoc">Create new outbound connection attempts as needed.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00493">src/xrpld/peerfinder/detail/Logic.h:493</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_a9d44d9f8f30da541c8742feb3e2de894"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#a9d44d9f8f30da541c8742feb3e2de894">ripple::PeerFinder::Logic::onRedirects</a></div><div class="ttdeci">void onRedirects(FwdIter first, FwdIter last, boost::asio::ip::tcp::endpoint const &amp;remote_address)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l01263">src/xrpld/peerfinder/detail/Logic.h:1263</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_aa34319e5e04dc1fccd18b14ceadf68bb"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#aa34319e5e04dc1fccd18b14ceadf68bb">ripple::PeerFinder::Logic::on_endpoints</a></div><div class="ttdeci">void on_endpoints(SlotImp::ptr const &amp;slot, Endpoints list)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00789">src/xrpld/peerfinder/detail/Logic.h:789</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_aa51d139903531e663640d77b962bd390"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#aa51d139903531e663640d77b962bd390">ripple::PeerFinder::Logic::addStaticSource</a></div><div class="ttdeci">void addStaticSource(std::shared_ptr&lt; Source &gt; const &amp;source)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l01065">src/xrpld/peerfinder/detail/Logic.h:1065</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_aa8c245c6a86c024ccafc1b4bb7d57592"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#aa8c245c6a86c024ccafc1b4bb7d57592">ripple::PeerFinder::Logic::once_per_second</a></div><div class="ttdeci">void once_per_second()</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00698">src/xrpld/peerfinder/detail/Logic.h:698</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_aceddbdeb062012fc4c95180b8210c214"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#aceddbdeb062012fc4c95180b8210c214">ripple::PeerFinder::Logic::new_outbound_slot</a></div><div class="ttdeci">std::pair&lt; SlotImp::ptr, Result &gt; new_outbound_slot(beast::IP::Endpoint const &amp;remote_endpoint)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00320">src/xrpld/peerfinder/detail/Logic.h:320</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_ae42e629c10d34bbacc989401fab3f720"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#ae42e629c10d34bbacc989401fab3f720">ripple::PeerFinder::Logic::addFixedPeer</a></div><div class="ttdeci">void addFixedPeer(std::string const &amp;name, beast::IP::Endpoint const &amp;ep)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00173">src/xrpld/peerfinder/detail/Logic.h:173</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_aedefbd4030c297bead523f0a2ba89aa4"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#aedefbd4030c297bead523f0a2ba89aa4">ripple::PeerFinder::Logic::redirect</a></div><div class="ttdeci">std::vector&lt; Endpoint &gt; redirect(SlotImp::ptr const &amp;slot)</div><div class="ttdoc">Return a list of addresses suitable for redirection.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00477">src/xrpld/peerfinder/detail/Logic.h:477</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Logic_html_af9caa5f123b38c830b535f1d64b810dc"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Logic.html#af9caa5f123b38c830b535f1d64b810dc">ripple::PeerFinder::Logic::config</a></div><div class="ttdeci">void config(Config const &amp;c)</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2peerfinder_2detail_2Logic_8h_source.html#l00158">src/xrpld/peerfinder/detail/Logic.h:158</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html">ripple::PeerFinder::ManagerImp</a></div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00035">PeerfinderManager.cpp:36</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a021ce90133c31cc339ba7ea142bd6790"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a021ce90133c31cc339ba7ea142bd6790">ripple::PeerFinder::ManagerImp::buildEndpointsForPeers</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; std::shared_ptr&lt; Slot &gt;, std::vector&lt; Endpoint &gt; &gt; &gt; buildEndpointsForPeers() override</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00213">PeerfinderManager.cpp:213</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a06be604d80043a7f809ccd7198f40f31"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a06be604d80043a7f809ccd7198f40f31">ripple::PeerFinder::ManagerImp::addFixedPeer</a></div><div class="ttdeci">void addFixedPeer(std::string const &amp;name, std::vector&lt; beast::IP::Endpoint &gt; const &amp;addresses) override</div><div class="ttdoc">Add a peer that should always be connected.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00105">PeerfinderManager.cpp:105</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a0b581151bf586fa9f1b64d250e947358"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a0b581151bf586fa9f1b64d250e947358">ripple::PeerFinder::ManagerImp::on_closed</a></div><div class="ttdeci">void on_closed(std::shared_ptr&lt; Slot &gt; const &amp;slot) override</div><div class="ttdoc">Called when the slot is closed.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00151">PeerfinderManager.cpp:151</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a1290e864b0681f8d6763800bf28ec8aa"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a1290e864b0681f8d6763800bf28ec8aa">ripple::PeerFinder::ManagerImp::addFallbackStrings</a></div><div class="ttdeci">void addFallbackStrings(std::string const &amp;name, std::vector&lt; std::string &gt; const &amp;strings) override</div><div class="ttdoc">Add a set of strings as fallback IP::Endpoint sources.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00113">PeerfinderManager.cpp:113</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a12b9d06a0d1f0dff722fe6235031c1fe"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a12b9d06a0d1f0dff722fe6235031c1fe">ripple::PeerFinder::ManagerImp::new_inbound_slot</a></div><div class="ttdeci">std::pair&lt; std::shared_ptr&lt; Slot &gt;, Result &gt; new_inbound_slot(beast::IP::Endpoint const &amp;local_endpoint, beast::IP::Endpoint const &amp;remote_endpoint) override</div><div class="ttdoc">Add a URL as a fallback location to obtain IP::Endpoint sources.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00129">PeerfinderManager.cpp:129</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a183e2c26276081c6684b0f65c830e063"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a183e2c26276081c6684b0f65c830e063">ripple::PeerFinder::ManagerImp::stop</a></div><div class="ttdeci">void stop() override</div><div class="ttdoc">Transition to the stopped state, synchronously.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00076">PeerfinderManager.cpp:76</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a1a156a760dc9fa9ec5151ed7f1892092"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a1a156a760dc9fa9ec5151ed7f1892092">ripple::PeerFinder::ManagerImp::~ManagerImp</a></div><div class="ttdeci">~ManagerImp() override</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00070">PeerfinderManager.cpp:70</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a264d954acfa415a11ad5a7722becd285"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a264d954acfa415a11ad5a7722becd285">ripple::PeerFinder::ManagerImp::autoconnect</a></div><div class="ttdeci">std::vector&lt; beast::IP::Endpoint &gt; autoconnect() override</div><div class="ttdoc">Return a set of addresses we should connect to.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00201">PeerfinderManager.cpp:201</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a2ce8b6e29e0d7d0660fa9bd371750d24"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a2ce8b6e29e0d7d0660fa9bd371750d24">ripple::PeerFinder::ManagerImp::new_outbound_slot</a></div><div class="ttdeci">std::pair&lt; std::shared_ptr&lt; Slot &gt;, Result &gt; new_outbound_slot(beast::IP::Endpoint const &amp;remote_endpoint) override</div><div class="ttdoc">Create a new outbound slot with the specified remote endpoint.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00137">PeerfinderManager.cpp:137</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a4357710d1ce7751653ad1123ca42271d"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4357710d1ce7751653ad1123ca42271d">ripple::PeerFinder::ManagerImp::collect_metrics</a></div><div class="ttdeci">void collect_metrics()</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00261">PeerfinderManager.cpp:261</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a49200aebb924a25cc44db1e32df67e02"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a49200aebb924a25cc44db1e32df67e02">ripple::PeerFinder::ManagerImp::m_store</a></div><div class="ttdeci">StoreSqdb m_store</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00044">PeerfinderManager.cpp:44</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a493009acac1a9bccd55d84632796f0d0"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a493009acac1a9bccd55d84632796f0d0">ripple::PeerFinder::ManagerImp::on_failure</a></div><div class="ttdeci">void on_failure(std::shared_ptr&lt; Slot &gt; const &amp;slot) override</div><div class="ttdoc">Called when an outbound connection is deemed to have failed.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00158">PeerfinderManager.cpp:158</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a4a2476b15afa76c6416db526109f4bd6"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4a2476b15afa76c6416db526109f4bd6">ripple::PeerFinder::ManagerImp::checker_</a></div><div class="ttdeci">Checker&lt; boost::asio::ip::tcp &gt; checker_</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00045">PeerfinderManager.cpp:45</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a52f48e694eef6df00e8195ddf0bae546"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a52f48e694eef6df00e8195ddf0bae546">ripple::PeerFinder::ManagerImp::m_journal</a></div><div class="ttdeci">beast::Journal m_journal</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00043">PeerfinderManager.cpp:43</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a65a49b97b14433a3fe61f94654ce2b5f"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a65a49b97b14433a3fe61f94654ce2b5f">ripple::PeerFinder::ManagerImp::onConnected</a></div><div class="ttdeci">bool onConnected(std::shared_ptr&lt; Slot &gt; const &amp;slot, beast::IP::Endpoint const &amp;local_endpoint) override</div><div class="ttdoc">Called when an outbound connection attempt succeeds.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00175">PeerfinderManager.cpp:175</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a7b11202f18a86370a5d43a02e880dd0c"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a7b11202f18a86370a5d43a02e880dd0c">ripple::PeerFinder::ManagerImp::ManagerImp</a></div><div class="ttdeci">ManagerImp(boost::asio::io_context &amp;io_context, clock_type &amp;clock, beast::Journal journal, BasicConfig const &amp;config, beast::insight::Collector::ptr const &amp;collector)</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00051">PeerfinderManager.cpp:51</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a813ab1be0cbd689a0d4ccf7c0d62d275"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a813ab1be0cbd689a0d4ccf7c0d62d275">ripple::PeerFinder::ManagerImp::m_clock</a></div><div class="ttdeci">clock_type &amp; m_clock</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00042">PeerfinderManager.cpp:42</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a85b57bdb957b9db20c4f506676f4339f"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a85b57bdb957b9db20c4f506676f4339f">ripple::PeerFinder::ManagerImp::io_context_</a></div><div class="ttdeci">boost::asio::io_context &amp; io_context_</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00038">PeerfinderManager.cpp:38</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a870c8e53e39d362015e4b165fa0be489"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a870c8e53e39d362015e4b165fa0be489">ripple::PeerFinder::ManagerImp::onWrite</a></div><div class="ttdeci">void onWrite(beast::PropertyStream::Map &amp;map) override</div><div class="ttdoc">Subclass override.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00232">PeerfinderManager.cpp:232</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a9818b2efc99a9d862f01c900835b1f98"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9818b2efc99a9d862f01c900835b1f98">ripple::PeerFinder::ManagerImp::once_per_second</a></div><div class="ttdeci">void once_per_second() override</div><div class="ttdoc">Perform periodic activity.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00207">PeerfinderManager.cpp:207</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a99aae90a545b224f03e670cd79fb44d0"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a99aae90a545b224f03e670cd79fb44d0">ripple::PeerFinder::ManagerImp::m_statsMutex</a></div><div class="ttdeci">std::mutex m_statsMutex</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00257">PeerfinderManager.cpp:257</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a9eb332e2bbfec55616abbe35c751c995"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9eb332e2bbfec55616abbe35c751c995">ripple::PeerFinder::ManagerImp::m_stats</a></div><div class="ttdeci">Stats m_stats</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00258">PeerfinderManager.cpp:258</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_a9f892232f9a295630e51cc03737a1fd8"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9f892232f9a295630e51cc03737a1fd8">ripple::PeerFinder::ManagerImp::addFallbackURL</a></div><div class="ttdeci">void addFallbackURL(std::string const &amp;name, std::string const &amp;url)</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00121">PeerfinderManager.cpp:121</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_aaa158964f8e54f7ae551d5f94bfc8feb"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#aaa158964f8e54f7ae551d5f94bfc8feb">ripple::PeerFinder::ManagerImp::m_logic</a></div><div class="ttdeci">Logic&lt; decltype(checker_)&gt; m_logic</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00046">PeerfinderManager.cpp:46</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_abf2ab8c369f806ad780ffc2cb198fdc1"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#abf2ab8c369f806ad780ffc2cb198fdc1">ripple::PeerFinder::ManagerImp::setConfig</a></div><div class="ttdeci">void setConfig(Config const &amp;config) override</div><div class="ttdoc">Set the configuration for the manager.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00093">PeerfinderManager.cpp:93</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_ac4c5548dbce0ad94892e2e8ad7eab8a1"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac4c5548dbce0ad94892e2e8ad7eab8a1">ripple::PeerFinder::ManagerImp::work_</a></div><div class="ttdeci">std::optional&lt; boost::asio::executor_work_guard&lt; boost::asio::io_context::executor_type &gt; &gt; work_</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00041">PeerfinderManager.cpp:41</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_ac7d63ce07c3426d0f20b884b79af47d3"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#ac7d63ce07c3426d0f20b884b79af47d3">ripple::PeerFinder::ManagerImp::m_config</a></div><div class="ttdeci">BasicConfig const &amp; m_config</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00047">PeerfinderManager.cpp:47</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_acac935d3db78d6033a0095f161422cc1"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#acac935d3db78d6033a0095f161422cc1">ripple::PeerFinder::ManagerImp::config</a></div><div class="ttdeci">Config config() override</div><div class="ttdoc">Returns the configuration for the manager.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00099">PeerfinderManager.cpp:99</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_ad650e898bfe237cb04ff6c67bdf2cf0d"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#ad650e898bfe237cb04ff6c67bdf2cf0d">ripple::PeerFinder::ManagerImp::onRedirects</a></div><div class="ttdeci">void onRedirects(boost::asio::ip::tcp::endpoint const &amp;remote_address, std::vector&lt; boost::asio::ip::tcp::endpoint &gt; const &amp;eps) override</div><div class="ttdoc">Called when we received redirect IPs from a busy peer.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00165">PeerfinderManager.cpp:165</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_ad9124d4ae0e347ed95feb400d591996b"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#ad9124d4ae0e347ed95feb400d591996b">ripple::PeerFinder::ManagerImp::redirect</a></div><div class="ttdeci">std::vector&lt; Endpoint &gt; redirect(std::shared_ptr&lt; Slot &gt; const &amp;slot) override</div><div class="ttdoc">Returns a set of endpoints suitable for redirection.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00194">PeerfinderManager.cpp:194</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_af05f7bde1f04d25148cdb6b7d936d99c"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#af05f7bde1f04d25148cdb6b7d936d99c">ripple::PeerFinder::ManagerImp::on_endpoints</a></div><div class="ttdeci">void on_endpoints(std::shared_ptr&lt; Slot &gt; const &amp;slot, Endpoints const &amp;endpoints) override</div><div class="ttdoc">Called when mtENDPOINTS is received.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00143">PeerfinderManager.cpp:143</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_af0b8f084b921feed8362fba55c67c1c2"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#af0b8f084b921feed8362fba55c67c1c2">ripple::PeerFinder::ManagerImp::start</a></div><div class="ttdeci">void start() override</div><div class="ttdoc">Transition to the started state, synchronously.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00219">PeerfinderManager.cpp:219</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1ManagerImp_html_afd752afc44b01916041577fa7c6c8816"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1ManagerImp.html#afd752afc44b01916041577fa7c6c8816">ripple::PeerFinder::ManagerImp::activate</a></div><div class="ttdeci">Result activate(std::shared_ptr&lt; Slot &gt; const &amp;slot, PublicKey const &amp;key, bool reserved) override</div><div class="ttdoc">Request an active slot type.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00184">PeerfinderManager.cpp:184</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Manager_html"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Manager.html">ripple::PeerFinder::Manager</a></div><div class="ttdoc">Maintains a set of IP addresses used for getting into the network.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8h_source.html#l00185">PeerfinderManager.h:186</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Manager_html_a2b8a107886f5579757d64c6548d4d25c"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Manager.html#a2b8a107886f5579757d64c6548d4d25c">ripple::PeerFinder::Manager::Manager</a></div><div class="ttdeci">Manager() noexcept</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00271">PeerfinderManager.cpp:271</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1SourceStrings_html_a192adc9607629f4cb4ec73bba647b30c"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1SourceStrings.html#a192adc9607629f4cb4ec73bba647b30c">ripple::PeerFinder::SourceStrings::New</a></div><div class="ttdeci">static std::shared_ptr&lt; Source &gt; New(std::string const &amp;name, Strings const &amp;strings)</div><div class="ttdef"><b>Definition</b> <a href="SourceStrings_8cpp_source.html#l00065">SourceStrings.cpp:65</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1Source_html"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Source.html">ripple::PeerFinder::Source</a></div><div class="ttdoc">A static or dynamic source of peer addresses.</div><div class="ttdef"><b>Definition</b> <a href="Source_8h_source.html#l00038">Source.h:39</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html">ripple::PeerFinder::StoreSqdb</a></div><div class="ttdoc">Database persistence for PeerFinder using SQLite.</div><div class="ttdef"><b>Definition</b> <a href="StoreSqdb_8h_source.html#l00031">StoreSqdb.h:32</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html_a8ef9e1792c3ede7583beaf680a86a757"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html#a8ef9e1792c3ede7583beaf680a86a757">ripple::PeerFinder::StoreSqdb::open</a></div><div class="ttdeci">void open(BasicConfig const &amp;config)</div><div class="ttdef"><b>Definition</b> <a href="StoreSqdb_8h_source.html#l00054">StoreSqdb.h:54</a></div></div>
<div class="ttc" id="aclassripple_1_1PublicKey_html"><div class="ttname"><a href="classripple_1_1PublicKey.html">ripple::PublicKey</a></div><div class="ttdoc">A public key.</div><div class="ttdef"><b>Definition</b> <a href="PublicKey_8h_source.html#l00060">PublicKey.h:61</a></div></div>
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/end.html">std::vector::end</a></div><div class="ttdeci">T end(T... args)</div></div>
<div class="ttc" id="ais_same_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same_v</a></div><div class="ttdeci">T is_same_v</div></div>
<div class="ttc" id="alock_guard_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a></div></div>
<div class="ttc" id="amemory_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a></div></div>
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a></div></div>
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00672">base_uint.h:672</a></div></div>
<div class="ttc" id="anamespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition</b> <a href="IPAddress_8h_source.html#l00101">IPAddress.h:101</a></div></div>
<div class="ttc" id="anamespaceripple_1_1PeerFinder_html_a30aefa92bae95c80ebae6a669682d3eb"><div class="ttname"><a href="namespaceripple_1_1PeerFinder.html#a30aefa92bae95c80ebae6a669682d3eb">ripple::PeerFinder::make_Manager</a></div><div class="ttdeci">std::unique_ptr&lt; Manager &gt; make_Manager(boost::asio::io_context &amp;io_context, clock_type &amp;clock, beast::Journal journal, BasicConfig const &amp;config, beast::insight::Collector::ptr const &amp;collector)</div><div class="ttdoc">Create a new Manager.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00276">PeerfinderManager.cpp:276</a></div></div>
<div class="ttc" id="anamespaceripple_1_1PeerFinder_html_ae15e107cb3b0b67dbf43bd4a0a229c15"><div class="ttname"><a href="namespaceripple_1_1PeerFinder.html#ae15e107cb3b0b67dbf43bd4a0a229c15">ripple::PeerFinder::Result</a></div><div class="ttdeci">Result</div><div class="ttdoc">Possible results from activating a slot.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8h_source.html#l00142">PeerfinderManager.h:142</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a></div></div>
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
<div class="ttc" id="areset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional/reset.html">std::optional::reset</a></div><div class="ttdeci">T reset(T... args)</div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt; Collector &gt;</a></div></div>
<div class="ttc" id="astructripple_1_1PeerFinder_1_1Config_html"><div class="ttname"><a href="structripple_1_1PeerFinder_1_1Config.html">ripple::PeerFinder::Config</a></div><div class="ttdoc">PeerFinder configuration settings.</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8h_source.html#l00044">PeerfinderManager.h:45</a></div></div>
<div class="ttc" id="astructripple_1_1PeerFinder_1_1ManagerImp_1_1Stats_html"><div class="ttname"><a href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html">ripple::PeerFinder::ManagerImp::Stats</a></div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00238">PeerfinderManager.cpp:239</a></div></div>
<div class="ttc" id="astructripple_1_1PeerFinder_1_1ManagerImp_1_1Stats_html_a17c773054f863fd77999c3869cd64b14"><div class="ttname"><a href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a17c773054f863fd77999c3869cd64b14">ripple::PeerFinder::ManagerImp::Stats::activeOutboundPeers</a></div><div class="ttdeci">beast::insight::Gauge activeOutboundPeers</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00254">PeerfinderManager.cpp:254</a></div></div>
<div class="ttc" id="astructripple_1_1PeerFinder_1_1ManagerImp_1_1Stats_html_a43d35cc2783065273b47b72ebdc30188"><div class="ttname"><a href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a43d35cc2783065273b47b72ebdc30188">ripple::PeerFinder::ManagerImp::Stats::activeInboundPeers</a></div><div class="ttdeci">beast::insight::Gauge activeInboundPeers</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00253">PeerfinderManager.cpp:253</a></div></div>
<div class="ttc" id="astructripple_1_1PeerFinder_1_1ManagerImp_1_1Stats_html_a8d389bd9d03113b28be3e8f7afe14f35"><div class="ttname"><a href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#a8d389bd9d03113b28be3e8f7afe14f35">ripple::PeerFinder::ManagerImp::Stats::hook</a></div><div class="ttdeci">beast::insight::Hook hook</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00252">PeerfinderManager.cpp:252</a></div></div>
<div class="ttc" id="astructripple_1_1PeerFinder_1_1ManagerImp_1_1Stats_html_ade1fbd3909145e229e37ed5705c4eeec"><div class="ttname"><a href="structripple_1_1PeerFinder_1_1ManagerImp_1_1Stats.html#ade1fbd3909145e229e37ed5705c4eeec">ripple::PeerFinder::ManagerImp::Stats::Stats</a></div><div class="ttdeci">Stats(Handler const &amp;handler, beast::insight::Collector::ptr const &amp;collector)</div><div class="ttdef"><b>Definition</b> <a href="PeerfinderManager_8cpp_source.html#l00241">PeerfinderManager.cpp:241</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>