mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
818 lines
176 KiB
HTML
818 lines
176 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">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: OverlayImpl.h 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 style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_b003f5a72efe503c7552f86021e0c4d2.html">overlay</a></li><li class="navelem"><a class="el" href="dir_3d31096116cb07f2d03f31d101bf2478.html">impl</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">OverlayImpl.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a 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 name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
|
<div class="line"><a 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 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 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 name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a 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 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 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 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 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 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 name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef RIPPLE_OVERLAY_OVERLAYIMPL_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_OVERLAY_OVERLAYIMPL_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/app/main/Application.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/basics/Resolver.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/basics/UnorderedContainers.h></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/basics/chrono.h></span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <ripple/core/Job.h></span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <ripple/overlay/Message.h></span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <ripple/overlay/Overlay.h></span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <ripple/overlay/Slot.h></span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <ripple/overlay/impl/Handshake.h></span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <ripple/overlay/impl/TrafficCount.h></span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <ripple/overlay/impl/TxMetrics.h></span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <ripple/peerfinder/PeerfinderManager.h></span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <ripple/resource/ResourceManager.h></span></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <ripple/rpc/ServerHandler.h></span></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <ripple/server/Handoff.h></span></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include <boost/asio/basic_waitable_timer.hpp></span></div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <boost/asio/ip/tcp.hpp></span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include <boost/asio/ssl/context.hpp></span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include <boost/asio/strand.hpp></span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include <boost/container/flat_map.hpp></span></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/atomic.html">atomic</a>></span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cassert.html">cassert</a>></span></div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/chrono.html">chrono</a>></span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/condition_variable.html">condition_variable</a>></span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a>></span></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a>></span></div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>></span></div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a>></span></div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/unordered_map.html">unordered_map</a>></span></div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">class </span>PeerImp;</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">class </span>BasicConfig;</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html"> 58</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1OverlayImpl.html">OverlayImpl</a> : <span class="keyword">public</span> <a class="code" href="classripple_1_1Overlay.html">Overlay</a>, <span class="keyword">public</span> <a class="code" href="classripple_1_1reduce__relay_1_1SquelchHandler.html">reduce_relay::SquelchHandler</a></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl_1_1Child.html"> 61</a></span>  <span class="keyword">class </span><a class="code" href="classripple_1_1OverlayImpl_1_1Child.html">Child</a></div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  {</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">protected</span>:</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl_1_1Child.html#ac48a68b0e553ec566f03e3f7d538beec"> 64</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html">OverlayImpl</a>& <a class="code" href="classripple_1_1OverlayImpl_1_1Child.html#ac48a68b0e553ec566f03e3f7d538beec">overlay_</a>;</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1OverlayImpl_1_1Child.html#a92a7ada2284894883255d8c16e5c2d0f">Child</a>(<a class="code" href="classripple_1_1OverlayImpl.html">OverlayImpl</a>& overlay);</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <a class="code" href="classripple_1_1OverlayImpl_1_1Child.html#a5fc5099ae66aec0ae67166804a593a46">~Child</a>();</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classripple_1_1OverlayImpl_1_1Child.html#ac4493bf690681e0f2aa3b597235f0361">stop</a>() = 0;</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  };</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a9453a0ecfe39bfc18ef1f506dc59b715"> 76</a></span>  <span class="keyword">using</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/steady_clock.html">clock_type</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/steady_clock.html">std::chrono::steady_clock</a>;</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a816ead643b0fe7eae11db90eaecb5631"> 77</a></span>  <span class="keyword">using</span> <a class="code" href="classripple_1_1OverlayImpl.html#a816ead643b0fe7eae11db90eaecb5631">socket_type</a> = boost::asio::ip::tcp::socket;</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a0d015fc3cac2f60d841c915eacc025e0"> 78</a></span>  <span class="keyword">using</span> <a class="code" href="classripple_1_1OverlayImpl.html#a0d015fc3cac2f60d841c915eacc025e0">address_type</a> = boost::asio::ip::address;</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a0a209b9b9ce7ffa5cea585be740f9c2c"> 79</a></span>  <span class="keyword">using</span> <a class="code" href="classripple_1_1OverlayImpl.html#a0a209b9b9ce7ffa5cea585be740f9c2c">endpoint_type</a> = boost::asio::ip::tcp::endpoint;</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a04425d981aa3a6fac81e1ce7d400103a"> 80</a></span>  <span class="keyword">using</span> <a class="code" href="classripple_1_1OverlayImpl.html#a04425d981aa3a6fac81e1ce7d400103a">error_code</a> = boost::system::error_code;</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1Timer.html"> 82</a></span>  <span class="keyword">struct </span><a class="code" href="structripple_1_1OverlayImpl_1_1Timer.html">Timer</a> : <a class="code" href="classripple_1_1OverlayImpl_1_1Child.html">Child</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a><Timer></div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  {</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1Timer.html#af3c3211524ec474902313958a2629006"> 84</a></span>  boost::asio::basic_waitable_timer<clock_type> <a class="code" href="structripple_1_1OverlayImpl_1_1Timer.html#af3c3211524ec474902313958a2629006">timer_</a>;</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1Timer.html#a3a936e25528a73e10902b6bd1b099cf8"> 85</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structripple_1_1OverlayImpl_1_1Timer.html#a3a936e25528a73e10902b6bd1b099cf8">stopping_</a>{<span class="keyword">false</span>};</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">explicit</span> <a class="code" href="structripple_1_1OverlayImpl_1_1Timer.html#aef976d3d03984706325ead7ac907ee25">Timer</a>(<a class="code" href="classripple_1_1OverlayImpl.html">OverlayImpl</a>& overlay);</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="structripple_1_1OverlayImpl_1_1Timer.html#a971696ae846cc8d14ae3c4e32eec5a2c">stop</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="structripple_1_1OverlayImpl_1_1Timer.html#a4a5e3787d6241024be29cd93a5772004">async_wait</a>();</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="structripple_1_1OverlayImpl_1_1Timer.html#a244d0579c922ffbb04c977f8b771e379">on_timer</a>(<a class="code" href="classripple_1_1OverlayImpl.html#a04425d981aa3a6fac81e1ce7d400103a">error_code</a> ec);</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  };</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a687e7562a21884a6c0e98b1449ce0391"> 99</a></span>  <a class="code" href="classripple_1_1Application.html">Application</a>& <a class="code" href="classripple_1_1OverlayImpl.html#a687e7562a21884a6c0e98b1449ce0391">app_</a>;</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a5f5adfaebc8623ec0259d8a34f5a2908"> 100</a></span>  boost::asio::io_service& <a class="code" href="classripple_1_1OverlayImpl.html#a5f5adfaebc8623ec0259d8a34f5a2908">io_service_</a>;</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#aa4d8654ad2ce128a7693196e7cd6e707"> 101</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<boost::asio::io_service::work></a> <a class="code" href="classripple_1_1OverlayImpl.html#aa4d8654ad2ce128a7693196e7cd6e707">work_</a>;</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ac30c0044a37d9eb0939bd1eac90dff6a"> 102</a></span>  boost::asio::io_service::strand <a class="code" href="classripple_1_1OverlayImpl.html#ac30c0044a37d9eb0939bd1eac90dff6a">strand_</a>;</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a7df56f21d09513351c98a973f4022836"> 103</a></span>  <span class="keyword">mutable</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html">std::recursive_mutex</a> <a class="code" href="classripple_1_1OverlayImpl.html#a7df56f21d09513351c98a973f4022836">mutex_</a>; <span class="comment">// VFALCO use std::mutex</span></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a1da818e5fc573a9dafecaa0dfb2a648a"> 104</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/condition_variable_any.html">std::condition_variable_any</a> <a class="code" href="classripple_1_1OverlayImpl.html#a1da818e5fc573a9dafecaa0dfb2a648a">cond_</a>;</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a6ae36a0619d8d8763fd06379fbd7ddf3"> 105</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr<Timer></a> <a class="code" href="classripple_1_1OverlayImpl.html#a6ae36a0619d8d8763fd06379fbd7ddf3">timer_</a>;</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#afb6dd748e4986d93f5229b030a54641e"> 106</a></span>  boost::container::flat_map<Child*, std::weak_ptr<Child>> <a class="code" href="classripple_1_1OverlayImpl.html#afb6dd748e4986d93f5229b030a54641e">list_</a>;</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#aea84682825b5a501b694feef477a350c"> 107</a></span>  Setup <a class="code" href="classripple_1_1OverlayImpl.html#aea84682825b5a501b694feef477a350c">setup_</a>;</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a85d83341e072a21b642bb06a11a64895"> 108</a></span>  <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1OverlayImpl.html#a85d83341e072a21b642bb06a11a64895">journal_</a>;</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ae5fe3dfe3daa120c09d5041b07104da6"> 109</a></span>  <a class="code" href="classripple_1_1ServerHandlerImp.html">ServerHandler</a>& <a class="code" href="classripple_1_1OverlayImpl.html#ae5fe3dfe3daa120c09d5041b07104da6">serverHandler_</a>;</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a3a0bf589a6364fd1bcd500d661daba6a"> 110</a></span>  <a class="code" href="classripple_1_1Resource_1_1Manager.html">Resource::Manager</a>& <a class="code" href="classripple_1_1OverlayImpl.html#a3a0bf589a6364fd1bcd500d661daba6a">m_resourceManager</a>;</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ac68cea45e3ecdc66943099632d2c8621"> 111</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<PeerFinder::Manager></a> <a class="code" href="classripple_1_1OverlayImpl.html#ac68cea45e3ecdc66943099632d2c8621">m_peerFinder</a>;</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a4a3360b843f3b488afc05cbd164606fd"> 112</a></span>  <a class="code" href="classripple_1_1TrafficCount.html">TrafficCount</a> <a class="code" href="classripple_1_1OverlayImpl.html#a4a3360b843f3b488afc05cbd164606fd">m_traffic</a>;</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a31b9fcb4a7968e9836b3723763527f25"> 113</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<std::shared_ptr<PeerFinder::Slot></a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr<PeerImp></a>> <a class="code" href="classripple_1_1OverlayImpl.html#a31b9fcb4a7968e9836b3723763527f25">m_peers</a>;</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ad71423fe133aa9534b31d3f86cce0221"> 114</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<Peer::id_t, std::weak_ptr<PeerImp></a>> <a class="code" href="classripple_1_1OverlayImpl.html#ad71423fe133aa9534b31d3f86cce0221">ids_</a>;</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a222db6945256c0eebf01c39c572f655c"> 115</a></span>  <a class="code" href="classripple_1_1Resolver.html">Resolver</a>& <a class="code" href="classripple_1_1OverlayImpl.html#a222db6945256c0eebf01c39c572f655c">m_resolver</a>;</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a5c19b6bda81946939dd085c87a0d8d4b"> 116</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic<Peer::id_t></a> <a class="code" href="classripple_1_1OverlayImpl.html#a5c19b6bda81946939dd085c87a0d8d4b">next_id_</a>;</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a903c90bba5298fb5f9908cca6459ab04"> 117</a></span>  <span class="keywordtype">int</span> <a class="code" href="classripple_1_1OverlayImpl.html#a903c90bba5298fb5f9908cca6459ab04">timer_count_</a>;</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a6cc5bd75c8d9d7f164df667133ec02cc"> 118</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic<uint64_t></a> <a class="code" href="classripple_1_1OverlayImpl.html#a6cc5bd75c8d9d7f164df667133ec02cc">jqTransOverflow_</a>{0};</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a0c5d3a6fd28ad354aa94be97814bb883"> 119</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic<uint64_t></a> <a class="code" href="classripple_1_1OverlayImpl.html#a0c5d3a6fd28ad354aa94be97814bb883">peerDisconnects_</a>{0};</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#acb8c1dc9836e0df0fac7efe4f4da623d"> 120</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic<uint64_t></a> <a class="code" href="classripple_1_1OverlayImpl.html#acb8c1dc9836e0df0fac7efe4f4da623d">peerDisconnectsCharges_</a>{0};</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// 'cs' = crawl shards</span></div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a00260fa96316a055821a528a840ab076"> 123</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code" href="classripple_1_1OverlayImpl.html#a00260fa96316a055821a528a840ab076">csMutex_</a>;</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ab9c71ec3099b477fa0e042ecf682de79"> 124</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html">std::condition_variable</a> <a class="code" href="classripple_1_1OverlayImpl.html#ab9c71ec3099b477fa0e042ecf682de79">csCV_</a>;</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="comment">// Peer IDs expecting to receive a last link notification</span></div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ad3cecb1ea965a582052d265c7e69d409"> 126</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<std::uint32_t></a> <a class="code" href="classripple_1_1OverlayImpl.html#ad3cecb1ea965a582052d265c7e69d409">csIDs_</a>;</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a502be733e9eb03226ef53a062312833c"> 128</a></span>  <a class="code" href="classripple_1_1reduce__relay_1_1Slots.html">reduce_relay::Slots<UptimeClock></a> <a class="code" href="classripple_1_1OverlayImpl.html#a502be733e9eb03226ef53a062312833c">slots_</a>;</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">// Transaction reduce-relay metrics</span></div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a6fcecedab437fc1bf8ab7e7bbf87f866"> 131</a></span>  <a class="code" href="structripple_1_1metrics_1_1TxMetrics.html">metrics::TxMetrics</a> <a class="code" href="classripple_1_1OverlayImpl.html#a6fcecedab437fc1bf8ab7e7bbf87f866">txMetrics_</a>;</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">// A message with the list of manifests we send to peers</span></div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a4690e3dc0ec8663844df7c17936c238f"> 134</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Message></a> <a class="code" href="classripple_1_1OverlayImpl.html#a4690e3dc0ec8663844df7c17936c238f">manifestMessage_</a>;</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">// Used to track whether we need to update the cached list of manifests</span></div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a4888f79cc6166a92dd3061621fb5d3ef"> 136</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<std::uint32_t></a> <a class="code" href="classripple_1_1OverlayImpl.html#a4888f79cc6166a92dd3061621fb5d3ef">manifestListSeq_</a>;</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="comment">// Protects the message and the sequence list of manifests</span></div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a744cd710ad06c438b6af9313bbeb3e67"> 138</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code" href="classripple_1_1OverlayImpl.html#a744cd710ad06c438b6af9313bbeb3e67">manifestLock_</a>;</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classripple_1_1OverlayImpl.html#af6f43338bdc0970009930c59e1cccad2">OverlayImpl</a>(</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="classripple_1_1Application.html">Application</a>& app,</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  Setup <span class="keyword">const</span>& <a class="code" href="classripple_1_1OverlayImpl.html#a55c2ef9cc5b0abfbd143b1feea4f3c4b">setup</a>,</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <a class="code" href="classripple_1_1ServerHandlerImp.html">ServerHandler</a>& serverHandler,</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classripple_1_1Resource_1_1Manager.html">Resource::Manager</a>& <a class="code" href="classripple_1_1OverlayImpl.html#a4aa2c1c54b6ebe297e288ca49a1b6810">resourceManager</a>,</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="code" href="classripple_1_1Resolver.html">Resolver</a>& resolver,</div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  boost::asio::io_service& io_service,</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="classripple_1_1BasicConfig.html">BasicConfig</a> <span class="keyword">const</span>& config,</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">beast::insight::Collector::ptr</a> <span class="keyword">const</span>& collector);</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="classripple_1_1OverlayImpl.html#af6f43338bdc0970009930c59e1cccad2">OverlayImpl</a>(<a class="code" href="classripple_1_1OverlayImpl.html">OverlayImpl</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="classripple_1_1OverlayImpl.html">OverlayImpl</a>&</div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a7cbf3979760f7b694fb7ea3c7ebb571a">operator=</a>(<a class="code" href="classripple_1_1OverlayImpl.html">OverlayImpl</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a2f2026cf4da2aef295b1d6676b5fa6ab">start</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  </div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a05a93f036814f8866586c2bd76c6790a">stop</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="classripple_1_1PeerFinder_1_1Manager.html">PeerFinder::Manager</a>&</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#af79b454c807a1a1ed55ddfb56ba9cf09"> 164</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#af79b454c807a1a1ed55ddfb56ba9cf09">peerFinder</a>()</div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  {</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> *<a class="code" href="classripple_1_1OverlayImpl.html#ac68cea45e3ecdc66943099632d2c8621">m_peerFinder</a>;</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  }</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="classripple_1_1Resource_1_1Manager.html">Resource::Manager</a>&</div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a4aa2c1c54b6ebe297e288ca49a1b6810"> 170</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#a4aa2c1c54b6ebe297e288ca49a1b6810">resourceManager</a>()</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  {</div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1OverlayImpl.html#a3a0bf589a6364fd1bcd500d661daba6a">m_resourceManager</a>;</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  Setup <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a55c2ef9cc5b0abfbd143b1feea4f3c4b"> 176</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#a55c2ef9cc5b0abfbd143b1feea4f3c4b">setup</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1OverlayImpl.html#aea84682825b5a501b694feef477a350c">setup_</a>;</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  }</div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <a class="code" href="structripple_1_1Handoff.html">Handoff</a></div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ac7a4d439587511364b72808ed8eb486e">onHandoff</a>(</div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<stream_type></a>&& bundle,</div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">http_request_type</a>&& request,</div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a0a209b9b9ce7ffa5cea585be740f9c2c">endpoint_type</a> remote_endpoint) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ac74b1afabc6ab8f758a2566d51c51e36">connect</a>(<a class="code" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> <span class="keyword">const</span>& remote_endpoint) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  </div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">int</span></div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <a class="code" href="classripple_1_1OverlayImpl.html#af5781ac0e4a3d7fb69b7089578bc5830">limit</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  </div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a98a077168a135ac114235f3e055fd5b3">size</a>() <span class="keyword">const override</span>;</div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <a class="code" href="classripple_1_1OverlayImpl.html#adf57bee334d9fc7ddfae571dcf7fd1a4">json</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  </div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="classripple_1_1Overlay.html#a8b102f6e05a0de6eec2d9034bfb41379">PeerSequence</a></div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a2eb13be3a38a8711d749372f968dac22">getActivePeers</a>() <span class="keyword">const override</span>;</div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="classripple_1_1Overlay.html#a8b102f6e05a0de6eec2d9034bfb41379">PeerSequence</a></div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a2eb13be3a38a8711d749372f968dac22">getActivePeers</a>(</div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<Peer::id_t></a> <span class="keyword">const</span>& toSkip,</div>
|
|
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>& active,</div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>& disabled,</div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>& enabledInSkip) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  </div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1OverlayImpl.html#ae04f46e44f0c2d90f70778f65d0a845a">checkTracking</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Peer></a></div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a534b616d5493147c3eb197af4f3f7cf1">findPeerByShortID</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">Peer::id_t</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>) <span class="keyword">const override</span>;</div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  </div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Peer></a></div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a35852ee0ce8279aef2a36773dd861223">findPeerByPublicKey</a>(<a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& pubKey) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a7127b00a7f599b223cab483654723616">broadcast</a>(protocol::TMProposeSet& m) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  </div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a7127b00a7f599b223cab483654723616">broadcast</a>(protocol::TMValidation& m) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div>
|
|
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<Peer::id_t></a></div>
|
|
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a95481d20b4e474ddd175e13038323689">relay</a>(</div>
|
|
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  protocol::TMProposeSet& m,</div>
|
|
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& uid,</div>
|
|
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& validator) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  </div>
|
|
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<Peer::id_t></a></div>
|
|
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a95481d20b4e474ddd175e13038323689">relay</a>(</div>
|
|
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  protocol::TMValidation& m,</div>
|
|
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& uid,</div>
|
|
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& validator) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  </div>
|
|
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a95481d20b4e474ddd175e13038323689">relay</a>(</div>
|
|
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&,</div>
|
|
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  protocol::TMTransaction& m,</div>
|
|
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<Peer::id_t></a> <span class="keyword">const</span>& skip) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  </div>
|
|
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Message></a></div>
|
|
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ad2689e6d8875de5f567cb32efc1a3150">getManifestsMessage</a>();</div>
|
|
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div>
|
|
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">// OverlayImpl</span></div>
|
|
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div>
|
|
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a340bd55af73ab8800735f6c3ac538817">add_active</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<PeerImp></a> <span class="keyword">const</span>& peer);</div>
|
|
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  </div>
|
|
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a8314d9411ae5be655929354317b4693b">remove</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<PeerFinder::Slot></a> <span class="keyword">const</span>& slot);</div>
|
|
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div>
|
|
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a27a8da8d13b1bc7ded86ccead573eafd">activate</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<PeerImp></a> <span class="keyword">const</span>& peer);</div>
|
|
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  </div>
|
|
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="comment">// Called when an active peer is destroyed.</span></div>
|
|
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a73b8f4f30e2f0fccc0452584d87a1051">onPeerDeactivate</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">Peer::id_t</a> <span class="keywordtype">id</span>);</div>
|
|
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  </div>
|
|
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="comment">// UnaryFunc will be called as</span></div>
|
|
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="comment">// void(std::shared_ptr<PeerImp>&&)</span></div>
|
|
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keyword">template</span> <<span class="keyword">class</span> UnaryFunc></div>
|
|
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#aa19d6ef2edeaea889ff6199f82747bcc"> 281</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#aa19d6ef2edeaea889ff6199f82747bcc">for_each</a>(UnaryFunc&& f)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::weak_ptr<PeerImp></a>> wp;</div>
|
|
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  {</div>
|
|
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code" href="classripple_1_1OverlayImpl.html#a7df56f21d09513351c98a973f4022836">mutex_</a>);</div>
|
|
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  </div>
|
|
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="comment">// Iterate over a copy of the peer list because peer</span></div>
|
|
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="comment">// destruction can invalidate iterators.</span></div>
|
|
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  wp.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector/reserve.html">reserve</a>(<a class="code" href="classripple_1_1OverlayImpl.html#ad71423fe133aa9534b31d3f86cce0221">ids_</a>.size());</div>
|
|
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  </div>
|
|
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& x : <a class="code" href="classripple_1_1OverlayImpl.html#ad71423fe133aa9534b31d3f86cce0221">ids_</a>)</div>
|
|
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  wp.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">push_back</a>(x.second);</div>
|
|
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  }</div>
|
|
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  </div>
|
|
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& w : wp)</div>
|
|
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  {</div>
|
|
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keywordflow">if</span> (<span class="keyword">auto</span> p = w.lock())</div>
|
|
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  f(std::move(p));</div>
|
|
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  }</div>
|
|
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  }</div>
|
|
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  </div>
|
|
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="comment">// Called when TMManifests is received from a peer</span></div>
|
|
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ac34dd8726bb45f185a89f0027a259ad8">onManifests</a>(</div>
|
|
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<protocol::TMManifests></a> <span class="keyword">const</span>& m,</div>
|
|
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<PeerImp></a> <span class="keyword">const</span>& from);</div>
|
|
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  </div>
|
|
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <a class="code" href="classripple_1_1OverlayImpl.html#abcf430bc5f040cff77dd77b7c56a652f">isPeerUpgrade</a>(<a class="code" href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">http_request_type</a> <span class="keyword">const</span>& request);</div>
|
|
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  </div>
|
|
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keyword">template</span> <<span class="keyword">class</span> Body></div>
|
|
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#aa297f7991b44060d492cee915e7244d6"> 313</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#aa297f7991b44060d492cee915e7244d6">isPeerUpgrade</a>(boost::beast::http::response<Body> <span class="keyword">const</span>& response)</div>
|
|
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  {</div>
|
|
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keywordflow">if</span> (!<a class="code" href="classripple_1_1OverlayImpl.html#a1857a64f0516de9ed62deea84574ced5">is_upgrade</a>(response))</div>
|
|
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keywordflow">return</span> response.result() ==</div>
|
|
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  boost::beast::http::status::switching_protocols;</div>
|
|
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  }</div>
|
|
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  </div>
|
|
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keyword">template</span> <<span class="keyword">class</span> Fields></div>
|
|
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a1857a64f0516de9ed62deea84574ced5"> 323</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#a1857a64f0516de9ed62deea84574ced5">is_upgrade</a>(boost::beast::http::header<true, Fields> <span class="keyword">const</span>& req)</div>
|
|
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  {</div>
|
|
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keywordflow">if</span> (req.version() < 11)</div>
|
|
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordflow">if</span> (req.method() != boost::beast::http::verb::get)</div>
|
|
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordflow">if</span> (!boost::beast::http::token_list{req[<span class="stringliteral">"Connection"</span>]}.exists(</div>
|
|
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="stringliteral">"upgrade"</span>))</div>
|
|
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
|
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  }</div>
|
|
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div>
|
|
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keyword">template</span> <<span class="keyword">class</span> Fields></div>
|
|
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#af4bcd8ae0381d4590a3856becea81153"> 337</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#af4bcd8ae0381d4590a3856becea81153">is_upgrade</a>(boost::beast::http::header<false, Fields> <span class="keyword">const</span>& req)</div>
|
|
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  {</div>
|
|
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordflow">if</span> (req.version() < 11)</div>
|
|
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keywordflow">if</span> (!boost::beast::http::token_list{req[<span class="stringliteral">"Connection"</span>]}.exists(</div>
|
|
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="stringliteral">"upgrade"</span>))</div>
|
|
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
|
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  }</div>
|
|
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  </div>
|
|
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
|
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a0888985ab827a3df0e079496a8918740">makePrefix</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keywordtype">id</span>);</div>
|
|
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  </div>
|
|
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a24fdba9c67abfceb410797749c99443f">reportTraffic</a>(<a class="code" href="classripple_1_1TrafficCount.html#adbaee77c7a063c9aac783e54594aeda7">TrafficCount::category</a> cat, <span class="keywordtype">bool</span> isInbound, <span class="keywordtype">int</span> bytes);</div>
|
|
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  </div>
|
|
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#af849f4af66d968ff4d387c0be2a811d1"> 354</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#af849f4af66d968ff4d387c0be2a811d1">incJqTransOverflow</a>()<span class="keyword"> override</span></div>
|
|
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  ++<a class="code" href="classripple_1_1OverlayImpl.html#a6cc5bd75c8d9d7f164df667133ec02cc">jqTransOverflow_</a>;</div>
|
|
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  }</div>
|
|
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  </div>
|
|
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div>
|
|
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ac72bf0313b420d1d1ff66e487c94f8dd"> 360</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#ac72bf0313b420d1d1ff66e487c94f8dd">getJqTransOverflow</a>()<span class="keyword"> const override</span></div>
|
|
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1OverlayImpl.html#a6cc5bd75c8d9d7f164df667133ec02cc">jqTransOverflow_</a>;</div>
|
|
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  }</div>
|
|
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  </div>
|
|
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a5f0a9aee646b4b98d7a255a2ce15e4cc"> 366</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#a5f0a9aee646b4b98d7a255a2ce15e4cc">incPeerDisconnect</a>()<span class="keyword"> override</span></div>
|
|
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  ++<a class="code" href="classripple_1_1OverlayImpl.html#a0c5d3a6fd28ad354aa94be97814bb883">peerDisconnects_</a>;</div>
|
|
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  }</div>
|
|
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  </div>
|
|
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div>
|
|
<div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#affdbd702da9388ff37e2922dbea86a79"> 372</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#affdbd702da9388ff37e2922dbea86a79">getPeerDisconnect</a>()<span class="keyword"> const override</span></div>
|
|
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1OverlayImpl.html#a0c5d3a6fd28ad354aa94be97814bb883">peerDisconnects_</a>;</div>
|
|
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  }</div>
|
|
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  </div>
|
|
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ae3e793fadc871cc98c8c45bd8f77b29a"> 378</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#ae3e793fadc871cc98c8c45bd8f77b29a">incPeerDisconnectCharges</a>()<span class="keyword"> override</span></div>
|
|
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  ++<a class="code" href="classripple_1_1OverlayImpl.html#acb8c1dc9836e0df0fac7efe4f4da623d">peerDisconnectsCharges_</a>;</div>
|
|
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  }</div>
|
|
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  </div>
|
|
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div>
|
|
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a7e1c12d0a2dd246dca87211614c0fa2d"> 384</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#a7e1c12d0a2dd246dca87211614c0fa2d">getPeerDisconnectCharges</a>()<span class="keyword"> const override</span></div>
|
|
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1OverlayImpl.html#acb8c1dc9836e0df0fac7efe4f4da623d">peerDisconnectsCharges_</a>;</div>
|
|
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  }</div>
|
|
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  </div>
|
|
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<std::uint32_t></a></div>
|
|
<div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ab719d5e97c8ed68bd0817b852f533f7b"> 390</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#ab719d5e97c8ed68bd0817b852f533f7b">networkID</a>()<span class="keyword"> const override</span></div>
|
|
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1OverlayImpl.html#aea84682825b5a501b694feef477a350c">setup_</a>.<a class="code" href="structripple_1_1Overlay_1_1Setup.html#ac68b28ee8460342bd7943ff04fb360d5">networkID</a>;</div>
|
|
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  }</div>
|
|
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  </div>
|
|
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a0ac90af4439cebc4a45ed268643e125a">crawlShards</a>(<span class="keywordtype">bool</span> includePublicKey, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> relays) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  </div>
|
|
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <a class="code" href="classripple_1_1OverlayImpl.html#aec24c19fd9159530ca5c7f3ec269329c">endOfPeerChain</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keywordtype">id</span>);</div>
|
|
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  </div>
|
|
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <a class="code" href="classripple_1_1OverlayImpl.html#af5ad0dea6d1dae3a7e27aa6a26f128b5">updateSlotAndSquelch</a>(</div>
|
|
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& key,</div>
|
|
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& validator,</div>
|
|
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<Peer::id_t></a>&& peers,</div>
|
|
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  protocol::MessageType type);</div>
|
|
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  </div>
|
|
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  <a class="code" href="classripple_1_1OverlayImpl.html#af5ad0dea6d1dae3a7e27aa6a26f128b5">updateSlotAndSquelch</a>(</div>
|
|
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& key,</div>
|
|
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& validator,</div>
|
|
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">Peer::id_t</a> peer,</div>
|
|
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  protocol::MessageType type);</div>
|
|
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  </div>
|
|
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a522fb9ffec5625df2a15f19b2e629ba9">deletePeer</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">Peer::id_t</a> <span class="keywordtype">id</span>);</div>
|
|
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  </div>
|
|
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a21576de278ccc1cef61adc539af9b0c0"> 439</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#a21576de278ccc1cef61adc539af9b0c0">txMetrics</a>()<span class="keyword"> const override</span></div>
|
|
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1OverlayImpl.html#a6fcecedab437fc1bf8ab7e7bbf87f866">txMetrics_</a>.<a class="code" href="structripple_1_1metrics_1_1TxMetrics.html#aff6ace79110a828a28ad0bf192d2cb4d">json</a>();</div>
|
|
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  }</div>
|
|
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  </div>
|
|
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <span class="keyword">template</span> <<span class="keyword">typename</span>... Args></div>
|
|
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a64f97190190ef54650210deb37b33146"> 447</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#a64f97190190ef54650210deb37b33146">addTxMetrics</a>(Args... args)</div>
|
|
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  {</div>
|
|
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordflow">if</span> (!<a class="code" href="classripple_1_1OverlayImpl.html#ac30c0044a37d9eb0939bd1eac90dff6a">strand_</a>.running_in_this_thread())</div>
|
|
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keywordflow">return</span> post(</div>
|
|
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ac30c0044a37d9eb0939bd1eac90dff6a">strand_</a>,</div>
|
|
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/bind.html">std::bind</a>(&OverlayImpl::addTxMetrics<Args...>, <span class="keyword">this</span>, args...));</div>
|
|
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  </div>
|
|
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a6fcecedab437fc1bf8ab7e7bbf87f866">txMetrics_</a>.<a class="code" href="structripple_1_1metrics_1_1TxMetrics.html#adfcd86c34470bc336f8623e1d1130e74">addMetrics</a>(args...);</div>
|
|
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  }</div>
|
|
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  </div>
|
|
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a4af02b1675b8d13ceb9ea72d031906f6">squelch</a>(</div>
|
|
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& validator,</div>
|
|
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">Peer::id_t</a> <span class="keyword">const</span> <span class="keywordtype">id</span>,</div>
|
|
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> squelchDuration) <span class="keyword">const override</span>;</div>
|
|
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  </div>
|
|
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a9bffa5dc79c7be0b7c4c75cce173ad2a">unsquelch</a>(<a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& validator, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">Peer::id_t</a> <span class="keywordtype">id</span>) <span class="keyword">const override</span>;</div>
|
|
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  </div>
|
|
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Writer></a></div>
|
|
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a9f6861b0fb2805bb479f316f1d0d2bc2">makeRedirectResponse</a>(</div>
|
|
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<PeerFinder::Slot></a> <span class="keyword">const</span>& slot,</div>
|
|
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <a class="code" href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">http_request_type</a> <span class="keyword">const</span>& request,</div>
|
|
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a0d015fc3cac2f60d841c915eacc025e0">address_type</a> remote_address);</div>
|
|
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  </div>
|
|
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Writer></a></div>
|
|
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a4bef375aa1fa1abd230bee5634a1285d">makeErrorResponse</a>(</div>
|
|
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<PeerFinder::Slot></a> <span class="keyword">const</span>& slot,</div>
|
|
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <a class="code" href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">http_request_type</a> <span class="keyword">const</span>& request,</div>
|
|
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a0d015fc3cac2f60d841c915eacc025e0">address_type</a> remote_address,</div>
|
|
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> msg);</div>
|
|
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  </div>
|
|
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ae78144c911ad978a0bea72b85f4c48b1">processCrawl</a>(<a class="code" href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">http_request_type</a> <span class="keyword">const</span>& req, <a class="code" href="structripple_1_1Handoff.html">Handoff</a>& handoff);</div>
|
|
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  </div>
|
|
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <a class="code" href="classripple_1_1OverlayImpl.html#adea7076f69ac7a79353e8fe37f28be3f">processValidatorList</a>(<a class="code" href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">http_request_type</a> <span class="keyword">const</span>& req, <a class="code" href="structripple_1_1Handoff.html">Handoff</a>& handoff);</div>
|
|
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  </div>
|
|
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a0c8c9cc796e886ba9c96d68b7acfcc4b">processHealth</a>(<a class="code" href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">http_request_type</a> <span class="keyword">const</span>& req, <a class="code" href="structripple_1_1Handoff.html">Handoff</a>& handoff);</div>
|
|
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  </div>
|
|
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a766f78a5f139b74f35d84dcc3d5ceb42">processRequest</a>(<a class="code" href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">http_request_type</a> <span class="keyword">const</span>& req, <a class="code" href="structripple_1_1Handoff.html">Handoff</a>& handoff);</div>
|
|
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  </div>
|
|
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  <a class="code" href="classripple_1_1OverlayImpl.html#aaa55667827e740d1a2fbcd7c5c9fb8b3">getOverlayInfo</a>();</div>
|
|
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  </div>
|
|
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ade20be0cc389144d8a3ef7b662e57882">getServerInfo</a>();</div>
|
|
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span>  </div>
|
|
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ac0b788dddf0076d5d5aa7f21c4c434a5">getServerCounts</a>();</div>
|
|
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  </div>
|
|
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a05659a5131a98ed0273b5d280e072c34">getUnlInfo</a>();</div>
|
|
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  </div>
|
|
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  </div>
|
|
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  <span class="comment">// PropertyStream</span></div>
|
|
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  </div>
|
|
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a20efec9ce4b1701e4a988430465cbe24">onWrite</a>(<a class="code" href="classbeast_1_1PropertyStream_1_1Map.html">beast::PropertyStream::Map</a>& stream) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  </div>
|
|
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  <span class="comment">//--------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  </div>
|
|
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a8314d9411ae5be655929354317b4693b">remove</a>(Child& child);</div>
|
|
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>  </div>
|
|
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a3c3a10e068fa7d1d99050e37e550481b">stopChildren</a>();</div>
|
|
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  </div>
|
|
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ac9dcdbe7f5e3cdb19fa1c7d71538556b">autoConnect</a>();</div>
|
|
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  </div>
|
|
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a80a5c09b232c3fc6d872f53206c34ed1">sendEndpoints</a>();</div>
|
|
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  </div>
|
|
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a8bbec612a0dcbaad4916115b95d3b237">sendTxQueue</a>();</div>
|
|
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  </div>
|
|
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span>  <a class="code" href="classripple_1_1OverlayImpl.html#a21ecf8c5c7a9b2f9dba05b1a07b89f06">deleteIdlePeers</a>();</div>
|
|
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span>  </div>
|
|
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00574"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html"> 574</a></span>  <span class="keyword">struct </span><a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html">TrafficGauges</a></div>
|
|
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  {</div>
|
|
<div class="line"><a name="l00576"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#adaeff1154463ff4648e3a5771e1c8690"> 576</a></span>  <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#adaeff1154463ff4648e3a5771e1c8690">TrafficGauges</a>(</div>
|
|
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>,</div>
|
|
<div class="line"><a name="l00578"></a><span class="lineno"> 578</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">beast::insight::Collector::ptr</a> <span class="keyword">const</span>& collector)</div>
|
|
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  : <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#a7a5fee4d65e034d6b4e51ba7fed15cec">bytesIn</a>(collector->make_gauge(<a class="code" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, <span class="stringliteral">"Bytes_In"</span>))</div>
|
|
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  , <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#aeb990b84c6b89d178dcc80b4e41fa577">bytesOut</a>(collector->make_gauge(<a class="code" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, <span class="stringliteral">"Bytes_Out"</span>))</div>
|
|
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  , <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#a5c4dccc78f1110ded1869f48290f4b1f">messagesIn</a>(collector->make_gauge(<a class="code" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, <span class="stringliteral">"Messages_In"</span>))</div>
|
|
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  , <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#aa03b8fed44171cbc4b699d09805ffff3">messagesOut</a>(collector->make_gauge(<a class="code" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, <span class="stringliteral">"Messages_Out"</span>))</div>
|
|
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  {</div>
|
|
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  }</div>
|
|
<div class="line"><a name="l00585"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#a7a5fee4d65e034d6b4e51ba7fed15cec"> 585</a></span>  <a class="code" href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a> <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#a7a5fee4d65e034d6b4e51ba7fed15cec">bytesIn</a>;</div>
|
|
<div class="line"><a name="l00586"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#aeb990b84c6b89d178dcc80b4e41fa577"> 586</a></span>  <a class="code" href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a> <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#aeb990b84c6b89d178dcc80b4e41fa577">bytesOut</a>;</div>
|
|
<div class="line"><a name="l00587"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#a5c4dccc78f1110ded1869f48290f4b1f"> 587</a></span>  <a class="code" href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a> <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#a5c4dccc78f1110ded1869f48290f4b1f">messagesIn</a>;</div>
|
|
<div class="line"><a name="l00588"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#aa03b8fed44171cbc4b699d09805ffff3"> 588</a></span>  <a class="code" href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a> <a class="code" href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#aa03b8fed44171cbc4b699d09805ffff3">messagesOut</a>;</div>
|
|
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>  };</div>
|
|
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  </div>
|
|
<div class="line"><a name="l00591"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1Stats.html"> 591</a></span>  <span class="keyword">struct </span><a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html">Stats</a></div>
|
|
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>  {</div>
|
|
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>  <span class="keyword">template</span> <<span class="keyword">class</span> Handler></div>
|
|
<div class="line"><a name="l00594"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1Stats.html#a8c95fa30cc03536bf80e54df1cfbc756"> 594</a></span>  <a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a8c95fa30cc03536bf80e54df1cfbc756">Stats</a>(</div>
|
|
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  Handler <span class="keyword">const</span>& handler,</div>
|
|
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">beast::insight::Collector::ptr</a> <span class="keyword">const</span>& collector,</div>
|
|
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<TrafficGauges></a>&& trafficGauges_)</div>
|
|
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span>  : <a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a4092d59438092cbd22bf30a980c547c1">peerDisconnects</a>(</div>
|
|
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span>  collector->make_gauge(<span class="stringliteral">"Overlay"</span>, <span class="stringliteral">"Peer_Disconnects"</span>))</div>
|
|
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  , <a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a">trafficGauges</a>(<a class="code" href="namespacestd.html">std</a>::move(trafficGauges_))</div>
|
|
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  , <a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#af9238f95a0de007c6af23a9bc07cea15">hook</a>(collector->make_hook(handler))</div>
|
|
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span>  {</div>
|
|
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span>  }</div>
|
|
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span>  </div>
|
|
<div class="line"><a name="l00605"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1Stats.html#a4092d59438092cbd22bf30a980c547c1"> 605</a></span>  <a class="code" href="classbeast_1_1insight_1_1Gauge.html">beast::insight::Gauge</a> <a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a4092d59438092cbd22bf30a980c547c1">peerDisconnects</a>;</div>
|
|
<div class="line"><a name="l00606"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a"> 606</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<TrafficGauges></a> <a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a">trafficGauges</a>;</div>
|
|
<div class="line"><a name="l00607"></a><span class="lineno"><a class="line" href="structripple_1_1OverlayImpl_1_1Stats.html#af9238f95a0de007c6af23a9bc07cea15"> 607</a></span>  <a class="code" href="classbeast_1_1insight_1_1Hook.html">beast::insight::Hook</a> <a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#af9238f95a0de007c6af23a9bc07cea15">hook</a>;</div>
|
|
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span>  };</div>
|
|
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span>  </div>
|
|
<div class="line"><a name="l00610"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df"> 610</a></span>  <a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html">Stats</a> <a class="code" href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df">m_stats</a>;</div>
|
|
<div class="line"><a name="l00611"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#adf838ed2ef8a2910abe3d254d97879b1"> 611</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code" href="classripple_1_1OverlayImpl.html#adf838ed2ef8a2910abe3d254d97879b1">m_statsMutex</a>;</div>
|
|
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  </div>
|
|
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00615"></a><span class="lineno"><a class="line" href="classripple_1_1OverlayImpl.html#a692dc2ad4e2b163595f42628ddfd51bc"> 615</a></span>  <a class="code" href="classripple_1_1OverlayImpl.html#a692dc2ad4e2b163595f42628ddfd51bc">collect_metrics</a>()</div>
|
|
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span>  {</div>
|
|
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>  <span class="keyword">auto</span> counts = <a class="code" href="classripple_1_1OverlayImpl.html#a4a3360b843f3b488afc05cbd164606fd">m_traffic</a>.<a class="code" href="classripple_1_1TrafficCount.html#a2d6d314b75b40b8370f256e09d2b7927">getCounts</a>();</div>
|
|
<div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code" href="classripple_1_1OverlayImpl.html#adf838ed2ef8a2910abe3d254d97879b1">m_statsMutex</a>);</div>
|
|
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span>  assert(counts.size() == <a class="code" href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df">m_stats</a>.<a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a">trafficGauges</a>.size());</div>
|
|
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>  </div>
|
|
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>  <span class="keywordflow">for</span> (<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> i = 0; i < counts.size(); ++i)</div>
|
|
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>  {</div>
|
|
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df">m_stats</a>.<a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a">trafficGauges</a>[i].bytesIn = counts[i].bytesIn;</div>
|
|
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df">m_stats</a>.<a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a">trafficGauges</a>[i].bytesOut = counts[i].bytesOut;</div>
|
|
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df">m_stats</a>.<a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a">trafficGauges</a>[i].messagesIn = counts[i].messagesIn;</div>
|
|
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df">m_stats</a>.<a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a">trafficGauges</a>[i].messagesOut = counts[i].messagesOut;</div>
|
|
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  }</div>
|
|
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span>  <a class="code" href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df">m_stats</a>.<a class="code" href="structripple_1_1OverlayImpl_1_1Stats.html#a4092d59438092cbd22bf30a980c547c1">peerDisconnects</a> = <a class="code" href="classripple_1_1OverlayImpl.html#affdbd702da9388ff37e2922dbea86a79">getPeerDisconnect</a>();</div>
|
|
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>  }</div>
|
|
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span> };</div>
|
|
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>  </div>
|
|
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span> } <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>  </div>
|
|
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span> <span class="preprocessor">#endif</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_af6f43338bdc0970009930c59e1cccad2"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#af6f43338bdc0970009930c59e1cccad2">ripple::OverlayImpl::OverlayImpl</a></div><div class="ttdeci">OverlayImpl(Application &app, Setup const &setup, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00117">OverlayImpl.cpp:117</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 & 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#l00190">beast_PropertyStream.cpp:190</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_adf838ed2ef8a2910abe3d254d97879b1"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#adf838ed2ef8a2910abe3d254d97879b1">ripple::OverlayImpl::m_statsMutex</a></div><div class="ttdeci">std::mutex m_statsMutex</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00611">OverlayImpl.h:611</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Stats_html_af9238f95a0de007c6af23a9bc07cea15"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Stats.html#af9238f95a0de007c6af23a9bc07cea15">ripple::OverlayImpl::Stats::hook</a></div><div class="ttdeci">beast::insight::Hook hook</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00607">OverlayImpl.h:607</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Application_html"><div class="ttname"><a href="classripple_1_1Application.html">ripple::Application</a></div><div class="ttdef"><b>Definition:</b> <a href="Application_8h_source.html#l00115">Application.h:115</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ac0b788dddf0076d5d5aa7f21c4c434a5"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ac0b788dddf0076d5d5aa7f21c4c434a5">ripple::OverlayImpl::getServerCounts</a></div><div class="ttdeci">Json::Value getServerCounts()</div><div class="ttdoc">Returns information about the local server's performance counters.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00885">OverlayImpl.cpp:885</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a85d83341e072a21b642bb06a11a64895"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a85d83341e072a21b642bb06a11a64895">ripple::OverlayImpl::journal_</a></div><div class="ttdeci">const beast::Journal journal_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00108">OverlayImpl.h:108</a></div></div>
|
|
<div class="ttc" id="asteady_clock_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/steady_clock.html">std::chrono::steady_clock</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a0d015fc3cac2f60d841c915eacc025e0"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a0d015fc3cac2f60d841c915eacc025e0">ripple::OverlayImpl::address_type</a></div><div class="ttdeci">boost::asio::ip::address address_type</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00078">OverlayImpl.h:78</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1SquelchHandler_html"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1SquelchHandler.html">ripple::reduce_relay::SquelchHandler</a></div><div class="ttdoc">Abstract class.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00071">overlay/Slot.h:71</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1TrafficCount_html_a2d6d314b75b40b8370f256e09d2b7927"><div class="ttname"><a href="classripple_1_1TrafficCount.html#a2d6d314b75b40b8370f256e09d2b7927">ripple::TrafficCount::getCounts</a></div><div class="ttdeci">auto const & getCounts() const</div><div class="ttdoc">An up-to-date copy of all the counters.</div><div class="ttdef"><b>Definition:</b> <a href="TrafficCount_8h_source.html#l00196">TrafficCount.h:196</a></div></div>
|
|
<div class="ttc" id="abind_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/bind.html">std::bind</a></div><div class="ttdeci">T bind(T... args)</div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Timer_html_af3c3211524ec474902313958a2629006"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Timer.html#af3c3211524ec474902313958a2629006">ripple::OverlayImpl::Timer::timer_</a></div><div class="ttdeci">boost::asio::basic_waitable_timer< clock_type > timer_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00084">OverlayImpl.h:84</a></div></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 class="ttdoc">STL class.</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< Message ></a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1TrafficCount_html"><div class="ttname"><a href="classripple_1_1TrafficCount.html">ripple::TrafficCount</a></div><div class="ttdef"><b>Definition:</b> <a href="TrafficCount_8h_source.html#l00032">TrafficCount.h:32</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Overlay_1_1Setup_html_ac68b28ee8460342bd7943ff04fb360d5"><div class="ttname"><a href="structripple_1_1Overlay_1_1Setup.html#ac68b28ee8460342bd7943ff04fb360d5">ripple::Overlay::Setup::networkID</a></div><div class="ttdeci">std::optional< std::uint32_t > networkID</div><div class="ttdef"><b>Definition:</b> <a href="Overlay_8h_source.html#l00075">Overlay.h:75</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#l00224">PropertyStream.h:224</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_acb8c1dc9836e0df0fac7efe4f4da623d"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#acb8c1dc9836e0df0fac7efe4f4da623d">ripple::OverlayImpl::peerDisconnectsCharges_</a></div><div class="ttdeci">std::atomic< uint64_t > peerDisconnectsCharges_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00120">OverlayImpl.h:120</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a692dc2ad4e2b163595f42628ddfd51bc"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a692dc2ad4e2b163595f42628ddfd51bc">ripple::OverlayImpl::collect_metrics</a></div><div class="ttdeci">void collect_metrics()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00615">OverlayImpl.h:615</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_1_1Child_html_ac48a68b0e553ec566f03e3f7d538beec"><div class="ttname"><a href="classripple_1_1OverlayImpl_1_1Child.html#ac48a68b0e553ec566f03e3f7d538beec">ripple::OverlayImpl::Child::overlay_</a></div><div class="ttdeci">OverlayImpl & overlay_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00064">OverlayImpl.h:64</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a1857a64f0516de9ed62deea84574ced5"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a1857a64f0516de9ed62deea84574ced5">ripple::OverlayImpl::is_upgrade</a></div><div class="ttdeci">static bool is_upgrade(boost::beast::http::header< true, Fields > const &req)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00323">OverlayImpl.h:323</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ad71423fe133aa9534b31d3f86cce0221"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ad71423fe133aa9534b31d3f86cce0221">ripple::OverlayImpl::ids_</a></div><div class="ttdeci">hash_map< Peer::id_t, std::weak_ptr< PeerImp > > ids_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00114">OverlayImpl.h:114</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ac72bf0313b420d1d1ff66e487c94f8dd"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ac72bf0313b420d1d1ff66e487c94f8dd">ripple::OverlayImpl::getJqTransOverflow</a></div><div class="ttdeci">std::uint64_t getJqTransOverflow() const override</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00360">OverlayImpl.h:360</a></div></div>
|
|
<div class="ttc" id="areserve_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/reserve.html">std::vector::reserve</a></div><div class="ttdeci">T reserve(T... args)</div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_af5ad0dea6d1dae3a7e27aa6a26f128b5"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#af5ad0dea6d1dae3a7e27aa6a26f128b5">ripple::OverlayImpl::updateSlotAndSquelch</a></div><div class="ttdeci">void updateSlotAndSquelch(uint256 const &key, PublicKey const &validator, std::set< Peer::id_t > &&peers, protocol::MessageType type)</div><div class="ttdoc">Updates message count for validator/peer.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01484">OverlayImpl.cpp:1484</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ac9dcdbe7f5e3cdb19fa1c7d71538556b"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ac9dcdbe7f5e3cdb19fa1c7d71538556b">ripple::OverlayImpl::autoConnect</a></div><div class="ttdeci">void autoConnect()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01410">OverlayImpl.cpp:1410</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_aec24c19fd9159530ca5c7f3ec269329c"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#aec24c19fd9159530ca5c7f3ec269329c">ripple::OverlayImpl::endOfPeerChain</a></div><div class="ttdeci">void endOfPeerChain(std::uint32_t id)</div><div class="ttdoc">Called when the reply from the last peer in a peer chain is received.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00774">OverlayImpl.cpp:774</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a05a93f036814f8866586c2bd76c6790a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a05a93f036814f8866586c2bd76c6790a">ripple::OverlayImpl::stop</a></div><div class="ttdeci">void stop() override</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00552">OverlayImpl.cpp:552</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ad3cecb1ea965a582052d265c7e69d409"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ad3cecb1ea965a582052d265c7e69d409">ripple::OverlayImpl::csIDs_</a></div><div class="ttdeci">std::set< std::uint32_t > csIDs_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00126">OverlayImpl.h:126</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a222db6945256c0eebf01c39c572f655c"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a222db6945256c0eebf01c39c572f655c">ripple::OverlayImpl::m_resolver</a></div><div class="ttdeci">Resolver & m_resolver</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00115">OverlayImpl.h:115</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a7df56f21d09513351c98a973f4022836"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a7df56f21d09513351c98a973f4022836">ripple::OverlayImpl::mutex_</a></div><div class="ttdeci">std::recursive_mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00103">OverlayImpl.h:103</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_affdbd702da9388ff37e2922dbea86a79"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#affdbd702da9388ff37e2922dbea86a79">ripple::OverlayImpl::getPeerDisconnect</a></div><div class="ttdeci">std::uint64_t getPeerDisconnect() const override</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00372">OverlayImpl.h:372</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Timer_html_a244d0579c922ffbb04c977f8b771e379"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Timer.html#a244d0579c922ffbb04c977f8b771e379">ripple::OverlayImpl::Timer::on_timer</a></div><div class="ttdeci">void on_timer(error_code ec)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00092">OverlayImpl.cpp:92</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 class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a5c19b6bda81946939dd085c87a0d8d4b"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a5c19b6bda81946939dd085c87a0d8d4b">ripple::OverlayImpl::next_id_</a></div><div class="ttdeci">std::atomic< Peer::id_t > next_id_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00116">OverlayImpl.h:116</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Overlay_html_a8b102f6e05a0de6eec2d9034bfb41379"><div class="ttname"><a href="classripple_1_1Overlay.html#a8b102f6e05a0de6eec2d9034bfb41379">ripple::Overlay::PeerSequence</a></div><div class="ttdeci">std::vector< std::shared_ptr< Peer > > PeerSequence</div><div class="ttdef"><b>Definition:</b> <a href="Overlay_8h_source.html#l00079">Overlay.h:79</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a0888985ab827a3df0e079496a8918740"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a0888985ab827a3df0e079496a8918740">ripple::OverlayImpl::makePrefix</a></div><div class="ttdeci">static std::string makePrefix(std::uint32_t id)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00335">OverlayImpl.cpp:335</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ac7a4d439587511364b72808ed8eb486e"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ac7a4d439587511364b72808ed8eb486e">ripple::OverlayImpl::onHandoff</a></div><div class="ttdeci">Handoff onHandoff(std::unique_ptr< stream_type > &&bundle, http_request_type &&request, endpoint_type remote_endpoint) override</div><div class="ttdoc">Conditionally accept an incoming HTTP request.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00163">OverlayImpl.cpp:163</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ae3e793fadc871cc98c8c45bd8f77b29a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ae3e793fadc871cc98c8c45bd8f77b29a">ripple::OverlayImpl::incPeerDisconnectCharges</a></div><div class="ttdeci">void incPeerDisconnectCharges() override</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00378">OverlayImpl.h:378</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ab9c71ec3099b477fa0e042ecf682de79"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ab9c71ec3099b477fa0e042ecf682de79">ripple::OverlayImpl::csCV_</a></div><div class="ttdeci">std::condition_variable csCV_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00124">OverlayImpl.h:124</a></div></div>
|
|
<div class="ttc" id="arecursive_mutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html">std::recursive_mutex</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ac30c0044a37d9eb0939bd1eac90dff6a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ac30c0044a37d9eb0939bd1eac90dff6a">ripple::OverlayImpl::strand_</a></div><div class="ttdeci">boost::asio::io_service::strand strand_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00102">OverlayImpl.h:102</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ade20be0cc389144d8a3ef7b662e57882"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ade20be0cc389144d8a3ef7b662e57882">ripple::OverlayImpl::getServerInfo</a></div><div class="ttdeci">Json::Value getServerInfo()</div><div class="ttdoc">Returns information about the local server.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00857">OverlayImpl.cpp:857</a></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 class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a3c3a10e068fa7d1d99050e37e550481b"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a3c3a10e068fa7d1d99050e37e550481b">ripple::OverlayImpl::stopChildren</a></div><div class="ttdeci">void stopChildren()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01378">OverlayImpl.cpp:1378</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1TrafficGauges_html_adaeff1154463ff4648e3a5771e1c8690"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#adaeff1154463ff4648e3a5771e1c8690">ripple::OverlayImpl::TrafficGauges::TrafficGauges</a></div><div class="ttdeci">TrafficGauges(char const *name, beast::insight::Collector::ptr const &collector)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00576">OverlayImpl.h:576</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a7127b00a7f599b223cab483654723616"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a7127b00a7f599b223cab483654723616">ripple::OverlayImpl::broadcast</a></div><div class="ttdeci">void broadcast(protocol::TMProposeSet &m) override</div><div class="ttdoc">Broadcast a proposal.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01224">OverlayImpl.cpp:1224</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ac74b1afabc6ab8f758a2566d51c51e36"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ac74b1afabc6ab8f758a2566d51c51e36">ripple::OverlayImpl::connect</a></div><div class="ttdeci">void connect(beast::IP::Endpoint const &remote_endpoint) override</div><div class="ttdoc">Establish a peer connection to the specified endpoint.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00390">OverlayImpl.cpp:390</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_adf57bee334d9fc7ddfae571dcf7fd1a4"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#adf57bee334d9fc7ddfae571dcf7fd1a4">ripple::OverlayImpl::json</a></div><div class="ttdeci">Json::Value json() override</div><div class="ttdoc">Return diagnostics on the status of all peers.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00922">OverlayImpl.cpp:922</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a55c2ef9cc5b0abfbd143b1feea4f3c4b"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a55c2ef9cc5b0abfbd143b1feea4f3c4b">ripple::OverlayImpl::setup</a></div><div class="ttdeci">Setup const & setup() const</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00176">OverlayImpl.h:176</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a903c90bba5298fb5f9908cca6459ab04"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a903c90bba5298fb5f9908cca6459ab04">ripple::OverlayImpl::timer_count_</a></div><div class="ttdeci">int timer_count_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00117">OverlayImpl.h:117</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_af4bcd8ae0381d4590a3856becea81153"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#af4bcd8ae0381d4590a3856becea81153">ripple::OverlayImpl::is_upgrade</a></div><div class="ttdeci">static bool is_upgrade(boost::beast::http::header< false, Fields > const &req)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00337">OverlayImpl.h:337</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_af849f4af66d968ff4d387c0be2a811d1"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#af849f4af66d968ff4d387c0be2a811d1">ripple::OverlayImpl::incJqTransOverflow</a></div><div class="ttdeci">void incJqTransOverflow() override</div><div class="ttdoc">Increment and retrieve counter for transaction job queue overflows.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00354">OverlayImpl.h:354</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_adea7076f69ac7a79353e8fe37f28be3f"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#adea7076f69ac7a79353e8fe37f28be3f">ripple::OverlayImpl::processValidatorList</a></div><div class="ttdeci">bool processValidatorList(http_request_type const &req, Handoff &handoff)</div><div class="ttdoc">Handles validator list requests.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00970">OverlayImpl.cpp:970</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a4a3360b843f3b488afc05cbd164606fd"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a4a3360b843f3b488afc05cbd164606fd">ripple::OverlayImpl::m_traffic</a></div><div class="ttdeci">TrafficCount m_traffic</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00112">OverlayImpl.h:112</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Stats_html_a4092d59438092cbd22bf30a980c547c1"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Stats.html#a4092d59438092cbd22bf30a980c547c1">ripple::OverlayImpl::Stats::peerDisconnects</a></div><div class="ttdeci">beast::insight::Gauge peerDisconnects</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00605">OverlayImpl.h:605</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a0c8c9cc796e886ba9c96d68b7acfcc4b"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a0c8c9cc796e886ba9c96d68b7acfcc4b">ripple::OverlayImpl::processHealth</a></div><div class="ttdeci">bool processHealth(http_request_type const &req, Handoff &handoff)</div><div class="ttdoc">Handles health requests.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01038">OverlayImpl.cpp:1038</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_aea84682825b5a501b694feef477a350c"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#aea84682825b5a501b694feef477a350c">ripple::OverlayImpl::setup_</a></div><div class="ttdeci">Setup setup_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00107">OverlayImpl.h:107</a></div></div>
|
|
<div class="ttc" id="acondition_variable_any_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/condition_variable_any.html">std::condition_variable_any</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a2f2026cf4da2aef295b1d6676b5fa6ab"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a2f2026cf4da2aef295b1d6676b5fa6ab">ripple::OverlayImpl::start</a></div><div class="ttdeci">void start() override</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00471">OverlayImpl.cpp:471</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a1da818e5fc573a9dafecaa0dfb2a648a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a1da818e5fc573a9dafecaa0dfb2a648a">ripple::OverlayImpl::cond_</a></div><div class="ttdeci">std::condition_variable_any cond_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00104">OverlayImpl.h:104</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a8bbec612a0dcbaad4916115b95d3b237"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a8bbec612a0dcbaad4916115b95d3b237">ripple::OverlayImpl::sendTxQueue</a></div><div class="ttdeci">void sendTxQueue()</div><div class="ttdoc">Send once a second transactions' hashes aggregated by peers.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01436">OverlayImpl.cpp:1436</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1TrafficCount_html_adbaee77c7a063c9aac783e54594aeda7"><div class="ttname"><a href="classripple_1_1TrafficCount.html#adbaee77c7a063c9aac783e54594aeda7">ripple::TrafficCount::category</a></div><div class="ttdeci">category</div><div class="ttdef"><b>Definition:</b> <a href="TrafficCount_8h_source.html#l00067">TrafficCount.h:67</a></div></div>
|
|
<div class="ttc" id="apush_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">std::vector::push_back</a></div><div class="ttdeci">T push_back(T... args)</div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_af79b454c807a1a1ed55ddfb56ba9cf09"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#af79b454c807a1a1ed55ddfb56ba9cf09">ripple::OverlayImpl::peerFinder</a></div><div class="ttdeci">PeerFinder::Manager & peerFinder()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00164">OverlayImpl.h:164</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a98a077168a135ac114235f3e055fd5b3"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a98a077168a135ac114235f3e055fd5b3">ripple::OverlayImpl::size</a></div><div class="ttdeci">std::size_t size() const override</div><div class="ttdoc">The number of active peers on the network Active peers are only those peers that have completed the h...</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00788">OverlayImpl.cpp:788</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ae04f46e44f0c2d90f70778f65d0a845a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ae04f46e44f0c2d90f70778f65d0a845a">ripple::OverlayImpl::checkTracking</a></div><div class="ttdeci">void checkTracking(std::uint32_t) override</div><div class="ttdoc">Calls the checkTracking function on each peer.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01190">OverlayImpl.cpp:1190</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a7cbf3979760f7b694fb7ea3c7ebb571a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a7cbf3979760f7b694fb7ea3c7ebb571a">ripple::OverlayImpl::operator=</a></div><div class="ttdeci">OverlayImpl & operator=(OverlayImpl const &)=delete</div></div>
|
|
<div class="ttc" id="astructripple_1_1metrics_1_1TxMetrics_html_aff6ace79110a828a28ad0bf192d2cb4d"><div class="ttname"><a href="structripple_1_1metrics_1_1TxMetrics.html#aff6ace79110a828a28ad0bf192d2cb4d">ripple::metrics::TxMetrics::json</a></div><div class="ttdeci">Json::Value json() const</div><div class="ttdoc">Get json representation of the metrics.</div><div class="ttdef"><b>Definition:</b> <a href="TxMetrics_8cpp_source.html#l00117">TxMetrics.cpp:117</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a00260fa96316a055821a528a840ab076"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a00260fa96316a055821a528a840ab076">ripple::OverlayImpl::csMutex_</a></div><div class="ttdeci">std::mutex csMutex_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00123">OverlayImpl.h:123</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ac34dd8726bb45f185a89f0027a259ad8"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ac34dd8726bb45f185a89f0027a259ad8">ripple::OverlayImpl::onManifests</a></div><div class="ttdeci">void onManifests(std::shared_ptr< protocol::TMManifests > const &m, std::shared_ptr< PeerImp > const &from)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00625">OverlayImpl.cpp:625</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a4690e3dc0ec8663844df7c17936c238f"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a4690e3dc0ec8663844df7c17936c238f">ripple::OverlayImpl::manifestMessage_</a></div><div class="ttdeci">std::shared_ptr< Message > manifestMessage_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00134">OverlayImpl.h:134</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a4aa2c1c54b6ebe297e288ca49a1b6810"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a4aa2c1c54b6ebe297e288ca49a1b6810">ripple::OverlayImpl::resourceManager</a></div><div class="ttdeci">Resource::Manager & resourceManager()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00170">OverlayImpl.h:170</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a816ead643b0fe7eae11db90eaecb5631"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a816ead643b0fe7eae11db90eaecb5631">ripple::OverlayImpl::socket_type</a></div><div class="ttdeci">boost::asio::ip::tcp::socket socket_type</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00077">OverlayImpl.h:77</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#l00059">PublicKey.h:59</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a7e1c12d0a2dd246dca87211614c0fa2d"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a7e1c12d0a2dd246dca87211614c0fa2d">ripple::OverlayImpl::getPeerDisconnectCharges</a></div><div class="ttdeci">std::uint64_t getPeerDisconnectCharges() const override</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00384">OverlayImpl.h:384</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_aaa55667827e740d1a2fbcd7c5c9fb8b3"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#aaa55667827e740d1a2fbcd7c5c9fb8b3">ripple::OverlayImpl::getOverlayInfo</a></div><div class="ttdeci">Json::Value getOverlayInfo()</div><div class="ttdoc">Returns information about peers on the overlay network.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00801">OverlayImpl.cpp:801</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Stats_html_a7709d85f568112b294fbc2064edeec4a"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Stats.html#a7709d85f568112b294fbc2064edeec4a">ripple::OverlayImpl::Stats::trafficGauges</a></div><div class="ttdeci">std::vector< TrafficGauges > trafficGauges</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00606">OverlayImpl.h:606</a></div></div>
|
|
<div class="ttc" id="achrono_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/chrono.html">chrono</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a5f5adfaebc8623ec0259d8a34f5a2908"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a5f5adfaebc8623ec0259d8a34f5a2908">ripple::OverlayImpl::io_service_</a></div><div class="ttdeci">boost::asio::io_service & io_service_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00100">OverlayImpl.h:100</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ServerHandlerImp_html"><div class="ttname"><a href="classripple_1_1ServerHandlerImp.html">ripple::ServerHandlerImp</a></div><div class="ttdef"><b>Definition:</b> <a href="ServerHandlerImp_8h_source.html#l00047">ServerHandlerImp.h:47</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Resolver_html"><div class="ttname"><a href="classripple_1_1Resolver.html">ripple::Resolver</a></div><div class="ttdef"><b>Definition:</b> <a href="Resolver_8h_source.html#l00030">Resolver.h:30</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a502be733e9eb03226ef53a062312833c"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a502be733e9eb03226ef53a062312833c">ripple::OverlayImpl::slots_</a></div><div class="ttdeci">reduce_relay::Slots< UptimeClock > slots_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00128">OverlayImpl.h:128</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1metrics_1_1TxMetrics_html"><div class="ttname"><a href="structripple_1_1metrics_1_1TxMetrics.html">ripple::metrics::TxMetrics</a></div><div class="ttdoc">Run transaction reduce-relay feature related metrics.</div><div class="ttdef"><b>Definition:</b> <a href="TxMetrics_8h_source.html#l00088">TxMetrics.h:88</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ad535835fd328f766a6c2eaaa5927a6df"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ad535835fd328f766a6c2eaaa5927a6df">ripple::OverlayImpl::m_stats</a></div><div class="ttdeci">Stats m_stats</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00610">OverlayImpl.h:610</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a05659a5131a98ed0273b5d280e072c34"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a05659a5131a98ed0273b5d280e072c34">ripple::OverlayImpl::getUnlInfo</a></div><div class="ttdeci">Json::Value getUnlInfo()</div><div class="ttdoc">Returns information about the local server's UNL.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00891">OverlayImpl.cpp:891</a></div></div>
|
|
<div class="ttc" id="aenable_shared_from_this_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slots_html"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slots.html">ripple::reduce_relay::Slots</a></div><div class="ttdoc">Slots is a container for validator's Slot and handles Slot update when a message is received from a v...</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00046">overlay/Slot.h:46</a></div></div>
|
|
<div class="ttc" id="acstdint_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a687e7562a21884a6c0e98b1449ce0391"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a687e7562a21884a6c0e98b1449ce0391">ripple::OverlayImpl::app_</a></div><div class="ttdeci">Application & app_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00099">OverlayImpl.h:99</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ac68cea45e3ecdc66943099632d2c8621"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ac68cea45e3ecdc66943099632d2c8621">ripple::OverlayImpl::m_peerFinder</a></div><div class="ttdeci">std::unique_ptr< PeerFinder::Manager > m_peerFinder</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00111">OverlayImpl.h:111</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#l00058">Journal.h:58</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ae5fe3dfe3daa120c09d5041b07104da6"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ae5fe3dfe3daa120c09d5041b07104da6">ripple::OverlayImpl::serverHandler_</a></div><div class="ttdeci">ServerHandler & serverHandler_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00109">OverlayImpl.h:109</a></div></div>
|
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1TrafficGauges_html"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1TrafficGauges.html">ripple::OverlayImpl::TrafficGauges</a></div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00574">OverlayImpl.h:574</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_1_1Child_html_a92a7ada2284894883255d8c16e5c2d0f"><div class="ttname"><a href="classripple_1_1OverlayImpl_1_1Child.html#a92a7ada2284894883255d8c16e5c2d0f">ripple::OverlayImpl::Child::Child</a></div><div class="ttdeci">Child(OverlayImpl &overlay)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00058">OverlayImpl.cpp:58</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a21576de278ccc1cef61adc539af9b0c0"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a21576de278ccc1cef61adc539af9b0c0">ripple::OverlayImpl::txMetrics</a></div><div class="ttdeci">Json::Value txMetrics() const override</div><div class="ttdoc">Returns tx reduce-relay metrics.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00439">OverlayImpl.h:439</a></div></div>
|
|
<div class="ttc" id="aatomic_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/atomic.html">atomic</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1TrafficGauges_html_a7a5fee4d65e034d6b4e51ba7fed15cec"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#a7a5fee4d65e034d6b4e51ba7fed15cec">ripple::OverlayImpl::TrafficGauges::bytesIn</a></div><div class="ttdeci">beast::insight::Gauge bytesIn</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00585">OverlayImpl.h:585</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a2eb13be3a38a8711d749372f968dac22"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a2eb13be3a38a8711d749372f968dac22">ripple::OverlayImpl::getActivePeers</a></div><div class="ttdeci">PeerSequence getActivePeers() const override</div><div class="ttdoc">Returns a sequence representing the current list of peers.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01144">OverlayImpl.cpp:1144</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Timer_html_a4a5e3787d6241024be29cd93a5772004"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Timer.html#a4a5e3787d6241024be29cd93a5772004">ripple::OverlayImpl::Timer::async_wait</a></div><div class="ttdeci">void async_wait()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00084">OverlayImpl.cpp:84</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="astructripple_1_1OverlayImpl_1_1TrafficGauges_html_a5c4dccc78f1110ded1869f48290f4b1f"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#a5c4dccc78f1110ded1869f48290f4b1f">ripple::OverlayImpl::TrafficGauges::messagesIn</a></div><div class="ttdeci">beast::insight::Gauge messagesIn</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00587">OverlayImpl.h:587</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a21ecf8c5c7a9b2f9dba05b1a07b89f06"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a21ecf8c5c7a9b2f9dba05b1a07b89f06">ripple::OverlayImpl::deleteIdlePeers</a></div><div class="ttdeci">void deleteIdlePeers()</div><div class="ttdoc">Check if peers stopped relaying messages and if slots stopped receiving messages from the validator.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01526">OverlayImpl.cpp:1526</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:39</a></div></div>
|
|
<div class="ttc" id="aweak_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a766f78a5f139b74f35d84dcc3d5ceb42"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a766f78a5f139b74f35d84dcc3d5ceb42">ripple::OverlayImpl::processRequest</a></div><div class="ttdeci">bool processRequest(http_request_type const &req, Handoff &handoff)</div><div class="ttdoc">Handles non-peer protocol requests.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01136">OverlayImpl.cpp:1136</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a4888f79cc6166a92dd3061621fb5d3ef"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a4888f79cc6166a92dd3061621fb5d3ef">ripple::OverlayImpl::manifestListSeq_</a></div><div class="ttdeci">std::optional< std::uint32_t > manifestListSeq_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00136">OverlayImpl.h:136</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Resource_1_1Manager_html"><div class="ttname"><a href="classripple_1_1Resource_1_1Manager.html">ripple::Resource::Manager</a></div><div class="ttdoc">Tracks load and resource consumption.</div><div class="ttdef"><b>Definition:</b> <a href="ResourceManager_8h_source.html#l00036">ResourceManager.h:36</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ab719d5e97c8ed68bd0817b852f533f7b"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ab719d5e97c8ed68bd0817b852f533f7b">ripple::OverlayImpl::networkID</a></div><div class="ttdeci">std::optional< std::uint32_t > networkID() const override</div><div class="ttdoc">Returns the ID of the network this server is configured for, if any.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00390">OverlayImpl.h:390</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a522fb9ffec5625df2a15f19b2e629ba9"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a522fb9ffec5625df2a15f19b2e629ba9">ripple::OverlayImpl::deletePeer</a></div><div class="ttdeci">void deletePeer(Peer::id_t id)</div><div class="ttdoc">Called when the peer is deleted.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01517">OverlayImpl.cpp:1517</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_1_1Child_html_a5fc5099ae66aec0ae67166804a593a46"><div class="ttname"><a href="classripple_1_1OverlayImpl_1_1Child.html#a5fc5099ae66aec0ae67166804a593a46">ripple::OverlayImpl::Child::~Child</a></div><div class="ttdeci">virtual ~Child()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00062">OverlayImpl.cpp:62</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a3a0bf589a6364fd1bcd500d661daba6a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a3a0bf589a6364fd1bcd500d661daba6a">ripple::OverlayImpl::m_resourceManager</a></div><div class="ttdeci">Resource::Manager & m_resourceManager</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00110">OverlayImpl.h:110</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="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a95481d20b4e474ddd175e13038323689"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a95481d20b4e474ddd175e13038323689">ripple::OverlayImpl::relay</a></div><div class="ttdeci">std::set< Peer::id_t > relay(protocol::TMProposeSet &m, uint256 const &uid, PublicKey const &validator) override</div><div class="ttdoc">Relay a proposal.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01231">OverlayImpl.cpp:1231</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1metrics_1_1TxMetrics_html_adfcd86c34470bc336f8623e1d1130e74"><div class="ttname"><a href="structripple_1_1metrics_1_1TxMetrics.html#adfcd86c34470bc336f8623e1d1130e74">ripple::metrics::TxMetrics::addMetrics</a></div><div class="ttdeci">void addMetrics(protocol::MessageType type, std::uint32_t val)</div><div class="ttdoc">Add protocol message metrics.</div><div class="ttdef"><b>Definition:</b> <a href="TxMetrics_8cpp_source.html#l00030">TxMetrics.cpp:30</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ad2689e6d8875de5f567cb32efc1a3150"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ad2689e6d8875de5f567cb32efc1a3150">ripple::OverlayImpl::getManifestsMessage</a></div><div class="ttdeci">std::shared_ptr< Message > getManifestsMessage()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01276">OverlayImpl.cpp:1276</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a0ac90af4439cebc4a45ed268643e125a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a0ac90af4439cebc4a45ed268643e125a">ripple::OverlayImpl::crawlShards</a></div><div class="ttdeci">Json::Value crawlShards(bool includePublicKey, std::uint32_t relays) override</div><div class="ttdoc">Returns information reported to the crawl shard RPC command.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00687">OverlayImpl.cpp:687</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a8314d9411ae5be655929354317b4693b"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a8314d9411ae5be655929354317b4693b">ripple::OverlayImpl::remove</a></div><div class="ttdeci">void remove(std::shared_ptr< PeerFinder::Slot > const &slot)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00462">OverlayImpl.cpp:462</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Overlay_html"><div class="ttname"><a href="classripple_1_1Overlay.html">ripple::Overlay</a></div><div class="ttdoc">Manages the set of connected peers.</div><div class="ttdef"><b>Definition:</b> <a href="Overlay_8h_source.html#l00051">Overlay.h:51</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="acassert_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cassert.html">cassert</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a27a8da8d13b1bc7ded86ccead573eafd"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a27a8da8d13b1bc7ded86ccead573eafd">ripple::OverlayImpl::activate</a></div><div class="ttdeci">void activate(std::shared_ptr< PeerImp > const &peer)</div><div class="ttdoc">Called when a peer has connected successfully This is called after the peer handshake has been comple...</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00594">OverlayImpl.cpp:594</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Timer_html"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Timer.html">ripple::OverlayImpl::Timer</a></div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00082">OverlayImpl.h:82</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a73b8f4f30e2f0fccc0452584d87a1051"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a73b8f4f30e2f0fccc0452584d87a1051">ripple::OverlayImpl::onPeerDeactivate</a></div><div class="ttdeci">void onPeerDeactivate(Peer::id_t id)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00618">OverlayImpl.cpp:618</a></div></div>
|
|
<div class="ttc" id="acondition_variable_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/condition_variable.html">condition_variable</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_afb6dd748e4986d93f5229b030a54641e"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#afb6dd748e4986d93f5229b030a54641e">ripple::OverlayImpl::list_</a></div><div class="ttdeci">boost::container::flat_map< Child *, std::weak_ptr< Child > > list_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00106">OverlayImpl.h:106</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Timer_html_a3a936e25528a73e10902b6bd1b099cf8"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Timer.html#a3a936e25528a73e10902b6bd1b099cf8">ripple::OverlayImpl::Timer::stopping_</a></div><div class="ttdeci">bool stopping_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00085">OverlayImpl.h:85</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_aa4d8654ad2ce128a7693196e7cd6e707"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#aa4d8654ad2ce128a7693196e7cd6e707">ripple::OverlayImpl::work_</a></div><div class="ttdeci">std::optional< boost::asio::io_service::work > work_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00101">OverlayImpl.h:101</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Timer_html_aef976d3d03984706325ead7ac907ee25"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Timer.html#aef976d3d03984706325ead7ac907ee25">ripple::OverlayImpl::Timer::Timer</a></div><div class="ttdeci">Timer(OverlayImpl &overlay)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00069">OverlayImpl.cpp:69</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_1_1Child_html_ac4493bf690681e0f2aa3b597235f0361"><div class="ttname"><a href="classripple_1_1OverlayImpl_1_1Child.html#ac4493bf690681e0f2aa3b597235f0361">ripple::OverlayImpl::Child::stop</a></div><div class="ttdeci">virtual void stop()=0</div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a4af02b1675b8d13ceb9ea72d031906f6"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a4af02b1675b8d13ceb9ea72d031906f6">ripple::OverlayImpl::squelch</a></div><div class="ttdeci">void squelch(PublicKey const &validator, Peer::id_t const id, std::uint32_t squelchDuration) const override</div><div class="ttdoc">Squelch handler.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01471">OverlayImpl.cpp:1471</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Handoff_html"><div class="ttname"><a href="structripple_1_1Handoff.html">ripple::Handoff</a></div><div class="ttdoc">Used to indicate the result of a server connection handoff.</div><div class="ttdef"><b>Definition:</b> <a href="Handoff_8h_source.html#l00037">Handoff.h:37</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Timer_html_a971696ae846cc8d14ae3c4e32eec5a2c"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Timer.html#a971696ae846cc8d14ae3c4e32eec5a2c">ripple::OverlayImpl::Timer::stop</a></div><div class="ttdeci">void stop() override</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00075">OverlayImpl.cpp:75</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a35852ee0ce8279aef2a36773dd861223"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a35852ee0ce8279aef2a36773dd861223">ripple::OverlayImpl::findPeerByPublicKey</a></div><div class="ttdeci">std::shared_ptr< Peer > findPeerByPublicKey(PublicKey const &pubKey) override</div><div class="ttdoc">Returns the peer with the matching public key, or null.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01209">OverlayImpl.cpp:1209</a></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="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_aa297f7991b44060d492cee915e7244d6"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#aa297f7991b44060d492cee915e7244d6">ripple::OverlayImpl::isPeerUpgrade</a></div><div class="ttdeci">static bool isPeerUpgrade(boost::beast::http::response< Body > const &response)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00313">OverlayImpl.h:313</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1TrafficGauges_html_aeb990b84c6b89d178dcc80b4e41fa577"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#aeb990b84c6b89d178dcc80b4e41fa577">ripple::OverlayImpl::TrafficGauges::bytesOut</a></div><div class="ttdeci">beast::insight::Gauge bytesOut</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00586">OverlayImpl.h:586</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a6fcecedab437fc1bf8ab7e7bbf87f866"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a6fcecedab437fc1bf8ab7e7bbf87f866">ripple::OverlayImpl::txMetrics_</a></div><div class="ttdeci">metrics::TxMetrics txMetrics_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00131">OverlayImpl.h:131</a></div></div>
|
|
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a9f6861b0fb2805bb479f316f1d0d2bc2"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a9f6861b0fb2805bb479f316f1d0d2bc2">ripple::OverlayImpl::makeRedirectResponse</a></div><div class="ttdeci">std::shared_ptr< Writer > makeRedirectResponse(std::shared_ptr< PeerFinder::Slot > const &slot, http_request_type const &request, address_type remote_address)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00343">OverlayImpl.cpp:343</a></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#l00038">IPEndpoint.h:38</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a5f0a9aee646b4b98d7a255a2ce15e4cc"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a5f0a9aee646b4b98d7a255a2ce15e4cc">ripple::OverlayImpl::incPeerDisconnect</a></div><div class="ttdeci">void incPeerDisconnect() override</div><div class="ttdoc">Increment and retrieve counters for total peer disconnects, and disconnects we initiate for excessive...</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00366">OverlayImpl.h:366</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a64f97190190ef54650210deb37b33146"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a64f97190190ef54650210deb37b33146">ripple::OverlayImpl::addTxMetrics</a></div><div class="ttdeci">void addTxMetrics(Args... args)</div><div class="ttdoc">Add tx reduce-relay metrics.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00447">OverlayImpl.h:447</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a6ae36a0619d8d8763fd06379fbd7ddf3"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a6ae36a0619d8d8763fd06379fbd7ddf3">ripple::OverlayImpl::timer_</a></div><div class="ttdeci">std::weak_ptr< Timer > timer_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00105">OverlayImpl.h:105</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a6cc5bd75c8d9d7f164df667133ec02cc"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a6cc5bd75c8d9d7f164df667133ec02cc">ripple::OverlayImpl::jqTransOverflow_</a></div><div class="ttdeci">std::atomic< uint64_t > jqTransOverflow_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00118">OverlayImpl.h:118</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html"><div class="ttname"><a href="classripple_1_1OverlayImpl.html">ripple::OverlayImpl</a></div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00058">OverlayImpl.h:58</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a534b616d5493147c3eb197af4f3f7cf1"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a534b616d5493147c3eb197af4f3f7cf1">ripple::OverlayImpl::findPeerByShortID</a></div><div class="ttdeci">std::shared_ptr< Peer > findPeerByShortID(Peer::id_t const &id) const override</div><div class="ttdoc">Returns the peer with the matching short id, or null.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01197">OverlayImpl.cpp:1197</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a24fdba9c67abfceb410797749c99443f"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a24fdba9c67abfceb410797749c99443f">ripple::OverlayImpl::reportTraffic</a></div><div class="ttdeci">void reportTraffic(TrafficCount::category cat, bool isInbound, int bytes)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00678">OverlayImpl.cpp:678</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Stats_html_a8c95fa30cc03536bf80e54df1cfbc756"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Stats.html#a8c95fa30cc03536bf80e54df1cfbc756">ripple::OverlayImpl::Stats::Stats</a></div><div class="ttdeci">Stats(Handler const &handler, beast::insight::Collector::ptr const &collector, std::vector< TrafficGauges > &&trafficGauges_)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00594">OverlayImpl.h:594</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_1_1Child_html"><div class="ttname"><a href="classripple_1_1OverlayImpl_1_1Child.html">ripple::OverlayImpl::Child</a></div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00061">OverlayImpl.h:61</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a0c5d3a6fd28ad354aa94be97814bb883"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a0c5d3a6fd28ad354aa94be97814bb883">ripple::OverlayImpl::peerDisconnects_</a></div><div class="ttdeci">std::atomic< uint64_t > peerDisconnects_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00119">OverlayImpl.h:119</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_aa265217edeb8282e636c78b50049f4c0"><div class="ttname"><a href="namespaceripple.html#aa265217edeb8282e636c78b50049f4c0">ripple::http_request_type</a></div><div class="ttdeci">boost::beast::http::request< boost::beast::http::dynamic_body > http_request_type</div><div class="ttdef"><b>Definition:</b> <a href="Handshake_8h_source.html#l00047">Handshake.h:47</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 class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a4bef375aa1fa1abd230bee5634a1285d"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a4bef375aa1fa1abd230bee5634a1285d">ripple::OverlayImpl::makeErrorResponse</a></div><div class="ttdeci">std::shared_ptr< Writer > makeErrorResponse(std::shared_ptr< PeerFinder::Slot > const &slot, http_request_type const &request, address_type remote_address, std::string msg)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00370">OverlayImpl.cpp:370</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a31b9fcb4a7968e9836b3723763527f25"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a31b9fcb4a7968e9836b3723763527f25">ripple::OverlayImpl::m_peers</a></div><div class="ttdeci">hash_map< std::shared_ptr< PeerFinder::Slot >, std::weak_ptr< PeerImp > > m_peers</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00113">OverlayImpl.h:113</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1TrafficGauges_html_aa03b8fed44171cbc4b699d09805ffff3"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1TrafficGauges.html#aa03b8fed44171cbc4b699d09805ffff3">ripple::OverlayImpl::TrafficGauges::messagesOut</a></div><div class="ttdeci">beast::insight::Gauge messagesOut</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00588">OverlayImpl.h:588</a></div></div>
|
|
<div class="ttc" id="aunordered_map_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/unordered_map.html">unordered_map</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_abcf430bc5f040cff77dd77b7c56a652f"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#abcf430bc5f040cff77dd77b7c56a652f">ripple::OverlayImpl::isPeerUpgrade</a></div><div class="ttdeci">static bool isPeerUpgrade(http_request_type const &request)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00326">OverlayImpl.cpp:326</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a340bd55af73ab8800735f6c3ac538817"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a340bd55af73ab8800735f6c3ac538817">ripple::OverlayImpl::add_active</a></div><div class="ttdeci">void add_active(std::shared_ptr< PeerImp > const &peer)</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00428">OverlayImpl.cpp:428</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:31</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a04425d981aa3a6fac81e1ce7d400103a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a04425d981aa3a6fac81e1ce7d400103a">ripple::OverlayImpl::error_code</a></div><div class="ttdeci">boost::system::error_code error_code</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00080">OverlayImpl.h:80</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a20efec9ce4b1701e4a988430465cbe24"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a20efec9ce4b1701e4a988430465cbe24">ripple::OverlayImpl::onWrite</a></div><div class="ttdeci">void onWrite(beast::PropertyStream::Map &stream) override</div><div class="ttdoc">Subclass override.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00569">OverlayImpl.cpp:569</a></div></div>
|
|
<div class="ttc" id="aset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/set.html">std::set< std::uint32_t ></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#l00215">BasicConfig.h:215</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a744cd710ad06c438b6af9313bbeb3e67"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a744cd710ad06c438b6af9313bbeb3e67">ripple::OverlayImpl::manifestLock_</a></div><div class="ttdeci">std::mutex manifestLock_</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00138">OverlayImpl.h:138</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a80a5c09b232c3fc6d872f53206c34ed1"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a80a5c09b232c3fc6d872f53206c34ed1">ripple::OverlayImpl::sendEndpoints</a></div><div class="ttdeci">void sendEndpoints()</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01418">OverlayImpl.cpp:1418</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_aa19d6ef2edeaea889ff6199f82747bcc"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#aa19d6ef2edeaea889ff6199f82747bcc">ripple::OverlayImpl::for_each</a></div><div class="ttdeci">void for_each(UnaryFunc &&f) const</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00281">OverlayImpl.h:281</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#l00138">PeerfinderManager.h:138</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a9bffa5dc79c7be0b7c4c75cce173ad2a"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a9bffa5dc79c7be0b7c4c75cce173ad2a">ripple::OverlayImpl::unsquelch</a></div><div class="ttdeci">void unsquelch(PublicKey const &validator, Peer::id_t id) const override</div><div class="ttdoc">Unsquelch handler.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l01459">OverlayImpl.cpp:1459</a></div></div>
|
|
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00145">json_value.h:145</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_af5781ac0e4a3d7fb69b7089578bc5830"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#af5781ac0e4a3d7fb69b7089578bc5830">ripple::OverlayImpl::limit</a></div><div class="ttdeci">int limit() override</div><div class="ttdoc">Returns the maximum number of peers we are configured to allow.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00795">OverlayImpl.cpp:795</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_ae78144c911ad978a0bea72b85f4c48b1"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#ae78144c911ad978a0bea72b85f4c48b1">ripple::OverlayImpl::processCrawl</a></div><div class="ttdeci">bool processCrawl(http_request_type const &req, Handoff &handoff)</div><div class="ttdoc">Handles crawl requests.</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8cpp_source.html#l00933">OverlayImpl.cpp:933</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1OverlayImpl_html_a0a209b9b9ce7ffa5cea585be740f9c2c"><div class="ttname"><a href="classripple_1_1OverlayImpl.html#a0a209b9b9ce7ffa5cea585be740f9c2c">ripple::OverlayImpl::endpoint_type</a></div><div class="ttdeci">boost::asio::ip::tcp::endpoint endpoint_type</div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00079">OverlayImpl.h:79</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1OverlayImpl_1_1Stats_html"><div class="ttname"><a href="structripple_1_1OverlayImpl_1_1Stats.html">ripple::OverlayImpl::Stats</a></div><div class="ttdef"><b>Definition:</b> <a href="OverlayImpl_8h_source.html#l00591">OverlayImpl.h:591</a></div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|