Files
rippled/classripple_1_1PathRequests.html
2022-05-11 23:57:28 +00:00

696 lines
42 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: ripple::PathRequests Class Reference</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&amp;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&amp;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="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1PathRequests.html">PathRequests</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1PathRequests-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::PathRequests Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for ripple::PathRequests:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1PathRequests__coll__graph.png" border="0" usemap="#ripple_1_1PathRequests_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1PathRequests_coll__map" id="ripple_1_1PathRequests_coll__map">
<area shape="rect" title=" " alt="" coords="3787,268,3941,295"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="3481,9,3623,36"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="3482,217,3622,244"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children." alt="" coords="3168,150,3336,191"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="3468,149,3636,190"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="2717,100,2875,127"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="2753,157,2839,184"/>
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="585,205,771,246"/>
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="287,197,469,253"/>
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="5,205,173,246"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="334,365,422,392"/>
<area shape="rect" href="classripple_1_1RippleLineCache.html" title=" " alt="" coords="3165,465,3339,492"/>
<area shape="rect" href="structripple_1_1RippleLineCache_1_1AccountKey.html" title=" " alt="" coords="892,431,1067,473"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="575,499,781,541"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="607,733,749,774"/>
<area shape="rect" title=" " alt="" coords="3179,216,3325,243"/>
<area shape="rect" href="classbeast_1_1insight_1_1Event.html" title="A metric for reporting event timing." alt="" coords="3475,620,3629,647"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="3167,971,3337,1013"/>
<area shape="rect" href="classbeast_1_1insight_1_1EventImpl.html" title=" " alt="" coords="2704,1055,2888,1081"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="2343,1047,2529,1089"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="3471,419,3633,461"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="2715,653,2877,694"/>
<area shape="rect" href="classripple_1_1hardened__hash.html" title="Seed functor once per construction." alt="" coords="2713,411,2879,453"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="2357,411,2515,453"/>
<area shape="rect" title=" " alt="" coords="2131,259,2170,285"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title="STL class." alt="" coords="2362,259,2510,285"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2711,718,2881,759"/>
<area shape="rect" href="classripple_1_1ReadView.html" title="A view into a ledger." alt="" coords="2371,851,2501,877"/>
<area shape="rect" href="classripple_1_1detail_1_1ReadViewFwdRange.html" title=" " alt="" coords="2708,975,2884,1031"/>
<area shape="rect" href="classripple_1_1detail_1_1ReadViewFwdRange.html" title=" " alt="" coords="2708,783,2884,825"/>
<area shape="rect" href="structripple_1_1ReadView_1_1sles__type.html" title=" " alt="" coords="3152,917,3352,944"/>
<area shape="rect" href="structripple_1_1ReadView_1_1txs__type.html" title=" " alt="" coords="3155,827,3349,853"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="2750,477,2842,504"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="2657,529,2935,629"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="597,427,759,469"/>
<area shape="rect" href="classripple_1_1Issue.html" title="A currency issued by an account." alt="" coords="929,505,1030,532"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="294,733,462,774"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="38,803,141,829"/>
<area shape="rect" href="classripple_1_1TrustLineBase.html" title="Wraps a trust line SLE for convenience." alt="" coords="1465,699,1622,725"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2328,657,2544,713"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="2072,674,2229,715"/>
<area shape="rect" href="classripple_1_1PathFindTrustLine.html" title=" " alt="" coords="1780,699,1959,725"/>
<area shape="rect" href="classripple_1_1STAmount.html" title=" " alt="" coords="1203,589,1336,616"/>
<area shape="rect" href="classripple_1_1STBase.html" title="A type which can be exported to a well known binary format." alt="" coords="922,556,1037,583"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="898,607,1061,649"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="928,721,1031,748"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="1461,750,1625,791"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="2741,360,2851,387"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="2363,360,2509,387"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="2959,255,3128,297"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a03d5490c5c3838633c66f625e89137b1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a03d5490c5c3838633c66f625e89137b1">PathRequests</a> (<a class="el" href="classripple_1_1Application.html">Application</a> &amp;app, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal, <a class="el" href="classbeast_1_1insight_1_1Collector.html#ad1677ecd39a09b6a8bb8f2e073266bc4">beast::insight::Collector::ptr</a> const &amp;collector)</td></tr>
<tr class="memdesc:a03d5490c5c3838633c66f625e89137b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">A collection of all <a class="el" href="classripple_1_1PathRequest.html">PathRequest</a> instances. <a href="classripple_1_1PathRequests.html#a03d5490c5c3838633c66f625e89137b1">More...</a><br /></td></tr>
<tr class="separator:a03d5490c5c3838633c66f625e89137b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1622c7f2d3f023c5ba6b5d148013275d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a1622c7f2d3f023c5ba6b5d148013275d">updateAll</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;ledger)</td></tr>
<tr class="memdesc:a1622c7f2d3f023c5ba6b5d148013275d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update all of the contained <a class="el" href="classripple_1_1PathRequest.html">PathRequest</a> instances. <a href="classripple_1_1PathRequests.html#a1622c7f2d3f023c5ba6b5d148013275d">More...</a><br /></td></tr>
<tr class="separator:a1622c7f2d3f023c5ba6b5d148013275d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fb6b226a24ff19533dee037f10bf97c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a7fb6b226a24ff19533dee037f10bf97c">requestsPending</a> () const</td></tr>
<tr class="separator:a7fb6b226a24ff19533dee037f10bf97c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64a0b811c9416a7d0b7e8626ac797988"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1RippleLineCache.html">RippleLineCache</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a64a0b811c9416a7d0b7e8626ac797988">getLineCache</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;ledger, bool authoritative)</td></tr>
<tr class="memdesc:a64a0b811c9416a7d0b7e8626ac797988"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current <a class="el" href="classripple_1_1RippleLineCache.html">RippleLineCache</a>, updating it if necessary. <a href="classripple_1_1PathRequests.html#a64a0b811c9416a7d0b7e8626ac797988">More...</a><br /></td></tr>
<tr class="separator:a64a0b811c9416a7d0b7e8626ac797988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae228eae659934054c57398942f84b8de"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#ae228eae659934054c57398942f84b8de">makePathRequest</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1InfoSub.html">InfoSub</a> &gt; const &amp;subscriber, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;ledger, <a class="el" href="classJson_1_1Value.html">Json::Value</a> const &amp;request)</td></tr>
<tr class="separator:ae228eae659934054c57398942f84b8de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23ebbccfd572bef7bf7f88792c0eb165"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a23ebbccfd572bef7bf7f88792c0eb165">makeLegacyPathRequest</a> (<a class="el" href="classripple_1_1PathRequest.html#a532f6d97bf5ef68b8ff2dca244429f19">PathRequest::pointer</a> &amp;req, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; void(void)&gt; completion, <a class="el" href="classripple_1_1Resource_1_1Consumer.html">Resource::Consumer</a> &amp;consumer, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;inLedger, <a class="el" href="classJson_1_1Value.html">Json::Value</a> const &amp;request)</td></tr>
<tr class="separator:a23ebbccfd572bef7bf7f88792c0eb165"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3362fa140c79ff1c4daeee1b680ba401"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a3362fa140c79ff1c4daeee1b680ba401">doLegacyPathRequest</a> (<a class="el" href="classripple_1_1Resource_1_1Consumer.html">Resource::Consumer</a> &amp;consumer, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;inLedger, <a class="el" href="classJson_1_1Value.html">Json::Value</a> const &amp;request)</td></tr>
<tr class="separator:a3362fa140c79ff1c4daeee1b680ba401"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a626ab730f1ba54e99443eb40d981e92e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a626ab730f1ba54e99443eb40d981e92e">reportFast</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> ms)</td></tr>
<tr class="separator:a626ab730f1ba54e99443eb40d981e92e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1387b099a6d869399597b1eb7c97f99"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#ac1387b099a6d869399597b1eb7c97f99">reportFull</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> ms)</td></tr>
<tr class="separator:ac1387b099a6d869399597b1eb7c97f99"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a24fd90cae36b8e167747c784fe1edee1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a24fd90cae36b8e167747c784fe1edee1">insertPathRequest</a> (<a class="el" href="classripple_1_1PathRequest.html#a532f6d97bf5ef68b8ff2dca244429f19">PathRequest::pointer</a> const &amp;)</td></tr>
<tr class="separator:a24fd90cae36b8e167747c784fe1edee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ae9a92de5ba230841cfb57470d56908c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Application.html">Application</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#ae9a92de5ba230841cfb57470d56908c6">app_</a></td></tr>
<tr class="separator:ae9a92de5ba230841cfb57470d56908c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a080d6496fd6e6ed848fd11351f5021cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a080d6496fd6e6ed848fd11351f5021cf">mJournal</a></td></tr>
<tr class="separator:a080d6496fd6e6ed848fd11351f5021cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae290ff6d1cf83787537a9e7699199008"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1insight_1_1Event.html">beast::insight::Event</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#ae290ff6d1cf83787537a9e7699199008">mFast</a></td></tr>
<tr class="separator:ae290ff6d1cf83787537a9e7699199008"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c888cb553e48ff11e191b2a860f63a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1insight_1_1Event.html">beast::insight::Event</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a3c888cb553e48ff11e191b2a860f63a3">mFull</a></td></tr>
<tr class="separator:a3c888cb553e48ff11e191b2a860f63a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4719bfd8f413be43af4ac6db8bf895d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="el" href="classripple_1_1PathRequest.html#ad636d59928143972adaea19428ccad9e">PathRequest::wptr</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#ae4719bfd8f413be43af4ac6db8bf895d">requests_</a></td></tr>
<tr class="separator:ae4719bfd8f413be43af4ac6db8bf895d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a541e556741a63dd2e9ef46ea7f774850"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a>&lt; <a class="el" href="classripple_1_1RippleLineCache.html">RippleLineCache</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a541e556741a63dd2e9ef46ea7f774850">lineCache_</a></td></tr>
<tr class="separator:a541e556741a63dd2e9ef46ea7f774850"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9609fcd5db4a93b58fada556eb8e0b21"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a9609fcd5db4a93b58fada556eb8e0b21">mLastIdentifier</a></td></tr>
<tr class="separator:a9609fcd5db4a93b58fada556eb8e0b21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68ee0429f702b083830f982b98518aad"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html">std::recursive_mutex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PathRequests.html#a68ee0429f702b083830f982b98518aad">mLock</a></td></tr>
<tr class="separator:a68ee0429f702b083830f982b98518aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00033">33</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a03d5490c5c3838633c66f625e89137b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03d5490c5c3838633c66f625e89137b1">&#9670;&nbsp;</a></span>PathRequests()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::PathRequests::PathRequests </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Application.html">Application</a> &amp;&#160;</td>
<td class="paramname"><em>app</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>journal</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1insight_1_1Collector.html#ad1677ecd39a09b6a8bb8f2e073266bc4">beast::insight::Collector::ptr</a> const &amp;&#160;</td>
<td class="paramname"><em>collector</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>A collection of all <a class="el" href="classripple_1_1PathRequest.html">PathRequest</a> instances. </p>
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00037">37</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1622c7f2d3f023c5ba6b5d148013275d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1622c7f2d3f023c5ba6b5d148013275d">&#9670;&nbsp;</a></span>updateAll()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::PathRequests::updateAll </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;&#160;</td>
<td class="paramname"><em>ledger</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Update all of the contained <a class="el" href="classripple_1_1PathRequest.html">PathRequest</a> instances. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledger</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> we are pathfinding in. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="PathRequests_8cpp_source.html#l00068">68</a> of file <a class="el" href="PathRequests_8cpp_source.html">PathRequests.cpp</a>.</p>
</div>
</div>
<a id="a7fb6b226a24ff19533dee037f10bf97c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fb6b226a24ff19533dee037f10bf97c">&#9670;&nbsp;</a></span>requestsPending()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ripple::PathRequests::requestsPending </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8cpp_source.html#l00219">219</a> of file <a class="el" href="PathRequests_8cpp_source.html">PathRequests.cpp</a>.</p>
</div>
</div>
<a id="a64a0b811c9416a7d0b7e8626ac797988"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64a0b811c9416a7d0b7e8626ac797988">&#9670;&nbsp;</a></span>getLineCache()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1RippleLineCache.html">RippleLineCache</a> &gt; ripple::PathRequests::getLineCache </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;&#160;</td>
<td class="paramname"><em>ledger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>authoritative</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the current <a class="el" href="classripple_1_1RippleLineCache.html">RippleLineCache</a>, updating it if necessary. </p>
<p>Get the correct ledger to use. </p>
<p class="definition">Definition at line <a class="el" href="PathRequests_8cpp_source.html#l00037">37</a> of file <a class="el" href="PathRequests_8cpp_source.html">PathRequests.cpp</a>.</p>
</div>
</div>
<a id="ae228eae659934054c57398942f84b8de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae228eae659934054c57398942f84b8de">&#9670;&nbsp;</a></span>makePathRequest()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Value.html">Json::Value</a> ripple::PathRequests::makePathRequest </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1InfoSub.html">InfoSub</a> &gt; const &amp;&#160;</td>
<td class="paramname"><em>subscriber</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;&#160;</td>
<td class="paramname"><em>ledger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> const &amp;&#160;</td>
<td class="paramname"><em>request</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8cpp_source.html#l00245">245</a> of file <a class="el" href="PathRequests_8cpp_source.html">PathRequests.cpp</a>.</p>
</div>
</div>
<a id="a23ebbccfd572bef7bf7f88792c0eb165"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23ebbccfd572bef7bf7f88792c0eb165">&#9670;&nbsp;</a></span>makeLegacyPathRequest()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Value.html">Json::Value</a> ripple::PathRequests::makeLegacyPathRequest </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PathRequest.html#a532f6d97bf5ef68b8ff2dca244429f19">PathRequest::pointer</a> &amp;&#160;</td>
<td class="paramname"><em>req</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; void(void)&gt;&#160;</td>
<td class="paramname"><em>completion</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Resource_1_1Consumer.html">Resource::Consumer</a> &amp;&#160;</td>
<td class="paramname"><em>consumer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;&#160;</td>
<td class="paramname"><em>inLedger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> const &amp;&#160;</td>
<td class="paramname"><em>request</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8cpp_source.html#l00267">267</a> of file <a class="el" href="PathRequests_8cpp_source.html">PathRequests.cpp</a>.</p>
</div>
</div>
<a id="a3362fa140c79ff1c4daeee1b680ba401"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3362fa140c79ff1c4daeee1b680ba401">&#9670;&nbsp;</a></span>doLegacyPathRequest()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Value.html">Json::Value</a> ripple::PathRequests::doLegacyPathRequest </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Resource_1_1Consumer.html">Resource::Consumer</a> &amp;&#160;</td>
<td class="paramname"><em>consumer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const &gt; const &amp;&#160;</td>
<td class="paramname"><em>inLedger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> const &amp;&#160;</td>
<td class="paramname"><em>request</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8cpp_source.html#l00300">300</a> of file <a class="el" href="PathRequests_8cpp_source.html">PathRequests.cpp</a>.</p>
</div>
</div>
<a id="a626ab730f1ba54e99443eb40d981e92e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a626ab730f1ba54e99443eb40d981e92e">&#9670;&nbsp;</a></span>reportFast()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::PathRequests::reportFast </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>&#160;</td>
<td class="paramname"><em>ms</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00090">90</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="ac1387b099a6d869399597b1eb7c97f99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1387b099a6d869399597b1eb7c97f99">&#9670;&nbsp;</a></span>reportFull()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::PathRequests::reportFull </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>&#160;</td>
<td class="paramname"><em>ms</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00096">96</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="a24fd90cae36b8e167747c784fe1edee1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24fd90cae36b8e167747c784fe1edee1">&#9670;&nbsp;</a></span>insertPathRequest()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::PathRequests::insertPathRequest </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PathRequest.html#a532f6d97bf5ef68b8ff2dca244429f19">PathRequest::pointer</a> const &amp;&#160;</td>
<td class="paramname"><em>req</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8cpp_source.html#l00226">226</a> of file <a class="el" href="PathRequests_8cpp_source.html">PathRequests.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ae9a92de5ba230841cfb57470d56908c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9a92de5ba230841cfb57470d56908c6">&#9670;&nbsp;</a></span>app_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1Application.html">Application</a>&amp; ripple::PathRequests::app_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00105">105</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="a080d6496fd6e6ed848fd11351f5021cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a080d6496fd6e6ed848fd11351f5021cf">&#9670;&nbsp;</a></span>mJournal</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> ripple::PathRequests::mJournal</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00106">106</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="ae290ff6d1cf83787537a9e7699199008"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae290ff6d1cf83787537a9e7699199008">&#9670;&nbsp;</a></span>mFast</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1insight_1_1Event.html">beast::insight::Event</a> ripple::PathRequests::mFast</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00108">108</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="a3c888cb553e48ff11e191b2a860f63a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c888cb553e48ff11e191b2a860f63a3">&#9670;&nbsp;</a></span>mFull</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1insight_1_1Event.html">beast::insight::Event</a> ripple::PathRequests::mFull</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00109">109</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="ae4719bfd8f413be43af4ac6db8bf895d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4719bfd8f413be43af4ac6db8bf895d">&#9670;&nbsp;</a></span>requests_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;<a class="el" href="classripple_1_1PathRequest.html#ad636d59928143972adaea19428ccad9e">PathRequest::wptr</a>&gt; ripple::PathRequests::requests_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00112">112</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="a541e556741a63dd2e9ef46ea7f774850"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a541e556741a63dd2e9ef46ea7f774850">&#9670;&nbsp;</a></span>lineCache_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a>&lt;<a class="el" href="classripple_1_1RippleLineCache.html">RippleLineCache</a>&gt; ripple::PathRequests::lineCache_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00115">115</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="a9609fcd5db4a93b58fada556eb8e0b21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9609fcd5db4a93b58fada556eb8e0b21">&#9670;&nbsp;</a></span>mLastIdentifier</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>&lt;int&gt; ripple::PathRequests::mLastIdentifier</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00117">117</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
<a id="a68ee0429f702b083830f982b98518aad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68ee0429f702b083830f982b98518aad">&#9670;&nbsp;</a></span>mLock</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html">std::recursive_mutex</a> ripple::PathRequests::mLock</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="PathRequests_8h_source.html#l00119">119</a> of file <a class="el" href="PathRequests_8h_source.html">PathRequests.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>