mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
1542 lines
91 KiB
HTML
1542 lines
91 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.5"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: ripple::PeerFinder::Manager 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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.5 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="namespaceripple_1_1PeerFinder.html">PeerFinder</a></li><li class="navelem"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html">Manager</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classripple_1_1PeerFinder_1_1Manager-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">ripple::PeerFinder::Manager Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Maintains a set of IP addresses used for getting into the network.
|
|
<a href="classripple_1_1PeerFinder_1_1Manager.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="PeerfinderManager_8h_source.html">PeerfinderManager.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for ripple::PeerFinder::Manager:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1PeerFinder_1_1Manager__inherit__graph.png" border="0" usemap="#aripple_1_1PeerFinder_1_1Manager_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aripple_1_1PeerFinder_1_1Manager_inherit__map" id="aripple_1_1PeerFinder_1_1Manager_inherit__map">
|
|
<area shape="rect" title="Maintains a set of IP addresses used for getting into the network." alt="" coords="21,93,157,133"/>
|
|
<area shape="rect" href="classripple_1_1PeerFinder_1_1ManagerImp.html" title=" " alt="" coords="21,181,157,221"/>
|
|
<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="5,5,173,45"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::PeerFinder::Manager:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1PeerFinder_1_1Manager__coll__graph.png" border="0" usemap="#aripple_1_1PeerFinder_1_1Manager_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aripple_1_1PeerFinder_1_1Manager_coll__map" id="aripple_1_1PeerFinder_1_1Manager_coll__map">
|
|
<area shape="rect" title="Maintains a set of IP addresses used for getting into the network." alt="" coords="1160,130,1296,170"/>
|
|
<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="860,94,1028,134"/>
|
|
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="1144,41,1312,81"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="612,52,699,77"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="297,45,435,85"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="576,101,735,127"/>
|
|
<area shape="rect" title=" " alt="" coords="871,5,1017,31"/>
|
|
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="563,151,748,191"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="322,133,410,159"/>
|
|
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="275,183,457,237"/>
|
|
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="5,190,173,230"/>
|
|
</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 id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a6ca862e79c8e4d2883fb16c2bf95aa52"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a6ca862e79c8e4d2883fb16c2bf95aa52">~Manager</a> ()=default</td></tr>
|
|
<tr class="memdesc:a6ca862e79c8e4d2883fb16c2bf95aa52"><td class="mdescLeft"> </td><td class="mdescRight">Destroy the object. <a href="classripple_1_1PeerFinder_1_1Manager.html#a6ca862e79c8e4d2883fb16c2bf95aa52">More...</a><br /></td></tr>
|
|
<tr class="separator:a6ca862e79c8e4d2883fb16c2bf95aa52"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2da6f9a40efac1c2ac0cef79ae3a0e18"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a2da6f9a40efac1c2ac0cef79ae3a0e18">setConfig</a> (<a class="el" href="structripple_1_1PeerFinder_1_1Config.html">Config</a> const &<a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a7b106eb8bb9983a45b86a3685875d5ca">config</a>)=0</td></tr>
|
|
<tr class="memdesc:a2da6f9a40efac1c2ac0cef79ae3a0e18"><td class="mdescLeft"> </td><td class="mdescRight">Set the configuration for the manager. <a href="classripple_1_1PeerFinder_1_1Manager.html#a2da6f9a40efac1c2ac0cef79ae3a0e18">More...</a><br /></td></tr>
|
|
<tr class="separator:a2da6f9a40efac1c2ac0cef79ae3a0e18"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a144940aa50648481b2c55aa1c1d49747"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a144940aa50648481b2c55aa1c1d49747">start</a> ()=0</td></tr>
|
|
<tr class="memdesc:a144940aa50648481b2c55aa1c1d49747"><td class="mdescLeft"> </td><td class="mdescRight">Transition to the started state, synchronously. <a href="classripple_1_1PeerFinder_1_1Manager.html#a144940aa50648481b2c55aa1c1d49747">More...</a><br /></td></tr>
|
|
<tr class="separator:a144940aa50648481b2c55aa1c1d49747"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a983dd368b56405171d6162a53474fb6b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a983dd368b56405171d6162a53474fb6b">stop</a> ()=0</td></tr>
|
|
<tr class="memdesc:a983dd368b56405171d6162a53474fb6b"><td class="mdescLeft"> </td><td class="mdescRight">Transition to the stopped state, synchronously. <a href="classripple_1_1PeerFinder_1_1Manager.html#a983dd368b56405171d6162a53474fb6b">More...</a><br /></td></tr>
|
|
<tr class="separator:a983dd368b56405171d6162a53474fb6b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7b106eb8bb9983a45b86a3685875d5ca"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structripple_1_1PeerFinder_1_1Config.html">Config</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a7b106eb8bb9983a45b86a3685875d5ca">config</a> ()=0</td></tr>
|
|
<tr class="memdesc:a7b106eb8bb9983a45b86a3685875d5ca"><td class="mdescLeft"> </td><td class="mdescRight">Returns the configuration for the manager. <a href="classripple_1_1PeerFinder_1_1Manager.html#a7b106eb8bb9983a45b86a3685875d5ca">More...</a><br /></td></tr>
|
|
<tr class="separator:a7b106eb8bb9983a45b86a3685875d5ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4f94bdaf80e6bdba37b733512789401d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a4f94bdaf80e6bdba37b733512789401d">addFixedPeer</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &<a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> > const &addresses)=0</td></tr>
|
|
<tr class="memdesc:a4f94bdaf80e6bdba37b733512789401d"><td class="mdescLeft"> </td><td class="mdescRight">Add a peer that should always be connected. <a href="classripple_1_1PeerFinder_1_1Manager.html#a4f94bdaf80e6bdba37b733512789401d">More...</a><br /></td></tr>
|
|
<tr class="separator:a4f94bdaf80e6bdba37b733512789401d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeb5e8a50579a9235a9524348714b2641"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#aeb5e8a50579a9235a9524348714b2641">addFallbackStrings</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &<a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> > const &strings)=0</td></tr>
|
|
<tr class="memdesc:aeb5e8a50579a9235a9524348714b2641"><td class="mdescLeft"> </td><td class="mdescRight">Add a set of strings as fallback IP::Endpoint sources. <a href="classripple_1_1PeerFinder_1_1Manager.html#aeb5e8a50579a9235a9524348714b2641">More...</a><br /></td></tr>
|
|
<tr class="separator:aeb5e8a50579a9235a9524348714b2641"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af11bbe66704abe1c1d14a28169213d36"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#af11bbe66704abe1c1d14a28169213d36">new_inbound_slot</a> (<a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> const &local_endpoint, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> const &remote_endpoint)=0</td></tr>
|
|
<tr class="memdesc:af11bbe66704abe1c1d14a28169213d36"><td class="mdescLeft"> </td><td class="mdescRight">Add a URL as a fallback location to obtain IP::Endpoint sources. <a href="classripple_1_1PeerFinder_1_1Manager.html#af11bbe66704abe1c1d14a28169213d36">More...</a><br /></td></tr>
|
|
<tr class="separator:af11bbe66704abe1c1d14a28169213d36"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ace7534a5e47547adcf981d37d60d50ed"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#ace7534a5e47547adcf981d37d60d50ed">new_outbound_slot</a> (<a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> const &remote_endpoint)=0</td></tr>
|
|
<tr class="memdesc:ace7534a5e47547adcf981d37d60d50ed"><td class="mdescLeft"> </td><td class="mdescRight">Create a new outbound slot with the specified remote endpoint. <a href="classripple_1_1PeerFinder_1_1Manager.html#ace7534a5e47547adcf981d37d60d50ed">More...</a><br /></td></tr>
|
|
<tr class="separator:ace7534a5e47547adcf981d37d60d50ed"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0534c3b8a8b06093ca9aacc03d3e4def"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a0534c3b8a8b06093ca9aacc03d3e4def">on_endpoints</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const &slot, <a class="el" href="namespaceripple_1_1PeerFinder.html#a6a3d62f5f7c7102cb3267333bd60f4b1">Endpoints</a> const &endpoints)=0</td></tr>
|
|
<tr class="memdesc:a0534c3b8a8b06093ca9aacc03d3e4def"><td class="mdescLeft"> </td><td class="mdescRight">Called when mtENDPOINTS is received. <a href="classripple_1_1PeerFinder_1_1Manager.html#a0534c3b8a8b06093ca9aacc03d3e4def">More...</a><br /></td></tr>
|
|
<tr class="separator:a0534c3b8a8b06093ca9aacc03d3e4def"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a95d15486aa5e71cdd042f7f67dabf797"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a95d15486aa5e71cdd042f7f67dabf797">on_closed</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const &slot)=0</td></tr>
|
|
<tr class="memdesc:a95d15486aa5e71cdd042f7f67dabf797"><td class="mdescLeft"> </td><td class="mdescRight">Called when the slot is closed. <a href="classripple_1_1PeerFinder_1_1Manager.html#a95d15486aa5e71cdd042f7f67dabf797">More...</a><br /></td></tr>
|
|
<tr class="separator:a95d15486aa5e71cdd042f7f67dabf797"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad9fd691630ac88a67de0bc400cf06bc7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#ad9fd691630ac88a67de0bc400cf06bc7">on_failure</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const &slot)=0</td></tr>
|
|
<tr class="memdesc:ad9fd691630ac88a67de0bc400cf06bc7"><td class="mdescLeft"> </td><td class="mdescRight">Called when an outbound connection is deemed to have failed. <a href="classripple_1_1PeerFinder_1_1Manager.html#ad9fd691630ac88a67de0bc400cf06bc7">More...</a><br /></td></tr>
|
|
<tr class="separator:ad9fd691630ac88a67de0bc400cf06bc7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:add98e08a2601fbbf6b17effc5257a4e0"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#add98e08a2601fbbf6b17effc5257a4e0">onRedirects</a> (boost::asio::ip::tcp::endpoint const &remote_address, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< boost::asio::ip::tcp::endpoint > const &eps)=0</td></tr>
|
|
<tr class="memdesc:add98e08a2601fbbf6b17effc5257a4e0"><td class="mdescLeft"> </td><td class="mdescRight">Called when we received redirect IPs from a busy peer. <a href="classripple_1_1PeerFinder_1_1Manager.html#add98e08a2601fbbf6b17effc5257a4e0">More...</a><br /></td></tr>
|
|
<tr class="separator:add98e08a2601fbbf6b17effc5257a4e0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7378d056057b32cd7314142e32e52685"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a7378d056057b32cd7314142e32e52685">onConnected</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const &slot, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> const &local_endpoint)=0</td></tr>
|
|
<tr class="memdesc:a7378d056057b32cd7314142e32e52685"><td class="mdescLeft"> </td><td class="mdescRight">Called when an outbound connection attempt succeeds. <a href="classripple_1_1PeerFinder_1_1Manager.html#a7378d056057b32cd7314142e32e52685">More...</a><br /></td></tr>
|
|
<tr class="separator:a7378d056057b32cd7314142e32e52685"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aefbe42c26fe3cb06b28e746570d6077a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceripple_1_1PeerFinder.html#ae15e107cb3b0b67dbf43bd4a0a229c15">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#aefbe42c26fe3cb06b28e746570d6077a">activate</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const &slot, <a class="el" href="classripple_1_1PublicKey.html">PublicKey</a> const &key, bool reserved)=0</td></tr>
|
|
<tr class="memdesc:aefbe42c26fe3cb06b28e746570d6077a"><td class="mdescLeft"> </td><td class="mdescRight">Request an active slot type. <a href="classripple_1_1PeerFinder_1_1Manager.html#aefbe42c26fe3cb06b28e746570d6077a">More...</a><br /></td></tr>
|
|
<tr class="separator:aefbe42c26fe3cb06b28e746570d6077a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad0f86cbdaf57db1a7a3e1f4e4b802b1f"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="structripple_1_1PeerFinder_1_1Endpoint.html">Endpoint</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#ad0f86cbdaf57db1a7a3e1f4e4b802b1f">redirect</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const &slot)=0</td></tr>
|
|
<tr class="memdesc:ad0f86cbdaf57db1a7a3e1f4e4b802b1f"><td class="mdescLeft"> </td><td class="mdescRight">Returns a set of endpoints suitable for redirection. <a href="classripple_1_1PeerFinder_1_1Manager.html#ad0f86cbdaf57db1a7a3e1f4e4b802b1f">More...</a><br /></td></tr>
|
|
<tr class="separator:ad0f86cbdaf57db1a7a3e1f4e4b802b1f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a534b665ab3b09863230f68a0e7e3564a"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a534b665ab3b09863230f68a0e7e3564a">autoconnect</a> ()=0</td></tr>
|
|
<tr class="memdesc:a534b665ab3b09863230f68a0e7e3564a"><td class="mdescLeft"> </td><td class="mdescRight">Return a set of addresses we should connect to. <a href="classripple_1_1PeerFinder_1_1Manager.html#a534b665ab3b09863230f68a0e7e3564a">More...</a><br /></td></tr>
|
|
<tr class="separator:a534b665ab3b09863230f68a0e7e3564a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9c82747723243bfd5284912b6ca3eba8"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> >, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="structripple_1_1PeerFinder_1_1Endpoint.html">Endpoint</a> > > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a9c82747723243bfd5284912b6ca3eba8">buildEndpointsForPeers</a> ()=0</td></tr>
|
|
<tr class="separator:a9c82747723243bfd5284912b6ca3eba8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a002fe51563bb948e3911e6bbaec72e02"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a002fe51563bb948e3911e6bbaec72e02">once_per_second</a> ()=0</td></tr>
|
|
<tr class="memdesc:a002fe51563bb948e3911e6bbaec72e02"><td class="mdescLeft"> </td><td class="mdescRight">Perform periodic activity. <a href="classripple_1_1PeerFinder_1_1Manager.html#a002fe51563bb948e3911e6bbaec72e02">More...</a><br /></td></tr>
|
|
<tr class="separator:a002fe51563bb948e3911e6bbaec72e02"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5672372869d3a59c7cd2f7ce3056ae33"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a> () const</td></tr>
|
|
<tr class="memdesc:a5672372869d3a59c7cd2f7ce3056ae33"><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of this source. <a href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">More...</a><br /></td></tr>
|
|
<tr class="separator:a5672372869d3a59c7cd2f7ce3056ae33"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6b74ac4b0ae83b71d8605412b2fe5c8b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a6b74ac4b0ae83b71d8605412b2fe5c8b">add</a> (<a class="el" href="classripple_1_1PeerFinder_1_1Source.html">Source</a> &source)</td></tr>
|
|
<tr class="memdesc:a6b74ac4b0ae83b71d8605412b2fe5c8b"><td class="mdescLeft"> </td><td class="mdescRight">Add a child source. <a href="classbeast_1_1PropertyStream_1_1Source.html#a6b74ac4b0ae83b71d8605412b2fe5c8b">More...</a><br /></td></tr>
|
|
<tr class="separator:a6b74ac4b0ae83b71d8605412b2fe5c8b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a986ac5abff1a53a1a1f7dde38f0073bc"><td class="memTemplParams" colspan="2">template<class Derived > </td></tr>
|
|
<tr class="memitem:a986ac5abff1a53a1a1f7dde38f0073bc"><td class="memTemplItemLeft" align="right" valign="top">Derived * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a986ac5abff1a53a1a1f7dde38f0073bc">add</a> (Derived *child)</td></tr>
|
|
<tr class="memdesc:a986ac5abff1a53a1a1f7dde38f0073bc"><td class="mdescLeft"> </td><td class="mdescRight">Add a child source by pointer. <a href="classbeast_1_1PropertyStream_1_1Source.html#a986ac5abff1a53a1a1f7dde38f0073bc">More...</a><br /></td></tr>
|
|
<tr class="separator:a986ac5abff1a53a1a1f7dde38f0073bc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a556e44cee0e7f79c29d62baf27913926"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a556e44cee0e7f79c29d62baf27913926">remove</a> (<a class="el" href="classripple_1_1PeerFinder_1_1Source.html">Source</a> &child)</td></tr>
|
|
<tr class="memdesc:a556e44cee0e7f79c29d62baf27913926"><td class="mdescLeft"> </td><td class="mdescRight">Remove a child source from this <a class="el" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children.">Source</a>. <a href="classbeast_1_1PropertyStream_1_1Source.html#a556e44cee0e7f79c29d62baf27913926">More...</a><br /></td></tr>
|
|
<tr class="separator:a556e44cee0e7f79c29d62baf27913926"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1d00067514e90c8134de3d4777ea083e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a1d00067514e90c8134de3d4777ea083e">removeAll</a> ()</td></tr>
|
|
<tr class="memdesc:a1d00067514e90c8134de3d4777ea083e"><td class="mdescLeft"> </td><td class="mdescRight">Remove all child sources from this <a class="el" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children.">Source</a>. <a href="classbeast_1_1PropertyStream_1_1Source.html#a1d00067514e90c8134de3d4777ea083e">More...</a><br /></td></tr>
|
|
<tr class="separator:a1d00067514e90c8134de3d4777ea083e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a4d96dfb59e72aa00e5f94fc07e0ab8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a8a4d96dfb59e72aa00e5f94fc07e0ab8">write_one</a> (PropertyStream &stream)</td></tr>
|
|
<tr class="memdesc:a8a4d96dfb59e72aa00e5f94fc07e0ab8"><td class="mdescLeft"> </td><td class="mdescRight">Write only this <a class="el" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children.">Source</a> to the stream. <a href="classbeast_1_1PropertyStream_1_1Source.html#a8a4d96dfb59e72aa00e5f94fc07e0ab8">More...</a><br /></td></tr>
|
|
<tr class="separator:a8a4d96dfb59e72aa00e5f94fc07e0ab8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa2398e48dde9f52949d08ca0785c0bb3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#aa2398e48dde9f52949d08ca0785c0bb3">write</a> (PropertyStream &stream)</td></tr>
|
|
<tr class="memdesc:aa2398e48dde9f52949d08ca0785c0bb3"><td class="mdescLeft"> </td><td class="mdescRight">write this source and all its children recursively to the stream. <a href="classbeast_1_1PropertyStream_1_1Source.html#aa2398e48dde9f52949d08ca0785c0bb3">More...</a><br /></td></tr>
|
|
<tr class="separator:aa2398e48dde9f52949d08ca0785c0bb3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a936592a06d57d60b70874e358758c542"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a936592a06d57d60b70874e358758c542">write</a> (PropertyStream &stream, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &path)</td></tr>
|
|
<tr class="memdesc:a936592a06d57d60b70874e358758c542"><td class="mdescLeft"> </td><td class="mdescRight">Parse the path and write the corresponding <a class="el" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children.">Source</a> and optional children. <a href="classbeast_1_1PropertyStream_1_1Source.html#a936592a06d57d60b70874e358758c542">More...</a><br /></td></tr>
|
|
<tr class="separator:a936592a06d57d60b70874e358758c542"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a30f49272d4017476ce3e4694b539b8ae"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Source.html">Source</a> *, bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a30f49272d4017476ce3e4694b539b8ae">find</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> path)</td></tr>
|
|
<tr class="memdesc:a30f49272d4017476ce3e4694b539b8ae"><td class="mdescLeft"> </td><td class="mdescRight">Parse the dot-delimited <a class="el" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children.">Source</a> path and return the result. <a href="classbeast_1_1PropertyStream_1_1Source.html#a30f49272d4017476ce3e4694b539b8ae">More...</a><br /></td></tr>
|
|
<tr class="separator:a30f49272d4017476ce3e4694b539b8ae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a949fcb8686f4cfbb4401bb9a4aad80d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1PeerFinder_1_1Source.html">Source</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a949fcb8686f4cfbb4401bb9a4aad80d7">find_one_deep</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &<a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>)</td></tr>
|
|
<tr class="separator:a949fcb8686f4cfbb4401bb9a4aad80d7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7982669e8117c921ff644b7e2a552b19"><td class="memItemLeft" align="right" valign="top">PropertyStream::Source * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a7982669e8117c921ff644b7e2a552b19">find_path</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> path)</td></tr>
|
|
<tr class="separator:a7982669e8117c921ff644b7e2a552b19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1761f2a6920ca1c5d9543afda4930c45"><td class="memItemLeft" align="right" valign="top">PropertyStream::Source * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a1761f2a6920ca1c5d9543afda4930c45">find_one</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &<a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a5672372869d3a59c7cd2f7ce3056ae33">name</a>)</td></tr>
|
|
<tr class="separator:a1761f2a6920ca1c5d9543afda4930c45"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:accd7269755b1a27d4c66715edc1f5915"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#accd7269755b1a27d4c66715edc1f5915">onWrite</a> (Map &)</td></tr>
|
|
<tr class="memdesc:accd7269755b1a27d4c66715edc1f5915"><td class="mdescLeft"> </td><td class="mdescRight">Subclass override. <a href="classbeast_1_1PropertyStream_1_1Source.html#accd7269755b1a27d4c66715edc1f5915">More...</a><br /></td></tr>
|
|
<tr class="separator:accd7269755b1a27d4c66715edc1f5915"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a12999b1c566cf7208abd535c2561e256"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a12999b1c566cf7208abd535c2561e256">peel_leading_slash</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> *path)</td></tr>
|
|
<tr class="separator:a12999b1c566cf7208abd535c2561e256"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab971b977e48fc58d6264fa97d94cb6cd"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#ab971b977e48fc58d6264fa97d94cb6cd">peel_trailing_slashstar</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> *path)</td></tr>
|
|
<tr class="separator:ab971b977e48fc58d6264fa97d94cb6cd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa9cb8e3df035052930a216cd2f052adc"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#aa9cb8e3df035052930a216cd2f052adc">peel_name</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> *path)</td></tr>
|
|
<tr class="separator:aa9cb8e3df035052930a216cd2f052adc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a2b8a107886f5579757d64c6548d4d25c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerFinder_1_1Manager.html#a2b8a107886f5579757d64c6548d4d25c">Manager</a> () noexcept</td></tr>
|
|
<tr class="separator:a2b8a107886f5579757d64c6548d4d25c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a4a515a455925039f585dea40bbd018f8"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a4a515a455925039f585dea40bbd018f8">m_name</a></td></tr>
|
|
<tr class="separator:a4a515a455925039f585dea40bbd018f8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2d57b2b3b3a8cf812a3ce3b65a82110e"><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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a2d57b2b3b3a8cf812a3ce3b65a82110e">lock_</a></td></tr>
|
|
<tr class="separator:a2d57b2b3b3a8cf812a3ce3b65a82110e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abddc979c479f43fd9ac8550cbeab17b4"><td class="memItemLeft" align="right" valign="top">Item </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#abddc979c479f43fd9ac8550cbeab17b4">item_</a></td></tr>
|
|
<tr class="separator:abddc979c479f43fd9ac8550cbeab17b4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aab0ae58ec30d4c2bce92ff9a8cf2a042"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1PeerFinder_1_1Source.html">Source</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#aab0ae58ec30d4c2bce92ff9a8cf2a042">parent_</a></td></tr>
|
|
<tr class="separator:aab0ae58ec30d4c2bce92ff9a8cf2a042"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a22fe15ec1881c9546cfb785e9ac4aed3"><td class="memItemLeft" align="right" valign="top">List< Item > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html#a22fe15ec1881c9546cfb785e9ac4aed3">children_</a></td></tr>
|
|
<tr class="separator:a22fe15ec1881c9546cfb785e9ac4aed3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p >Maintains a set of IP addresses used for getting into the network. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PeerfinderManager_8h_source.html#l00138">138</a> of file <a class="el" href="PeerfinderManager_8h_source.html">PeerfinderManager.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a2b8a107886f5579757d64c6548d4d25c" name="a2b8a107886f5579757d64c6548d4d25c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2b8a107886f5579757d64c6548d4d25c">◆ </a></span>Manager()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::PeerFinder::Manager::Manager </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PeerfinderManager_8cpp_source.html#l00268">268</a> of file <a class="el" href="PeerfinderManager_8cpp_source.html">PeerfinderManager.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6ca862e79c8e4d2883fb16c2bf95aa52" name="a6ca862e79c8e4d2883fb16c2bf95aa52"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6ca862e79c8e4d2883fb16c2bf95aa52">◆ </a></span>~Manager()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual ripple::PeerFinder::Manager::~Manager </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Destroy the object. </p>
|
|
<p >Any pending source fetch operations are aborted. There may be some listener calls made before the destructor returns. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a2da6f9a40efac1c2ac0cef79ae3a0e18" name="a2da6f9a40efac1c2ac0cef79ae3a0e18"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2da6f9a40efac1c2ac0cef79ae3a0e18">◆ </a></span>setConfig()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::setConfig </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1PeerFinder_1_1Config.html">Config</a> const & </td>
|
|
<td class="paramname"><em>config</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the configuration for the manager. </p>
|
|
<p >The new settings will be applied asynchronously. Thread safety: Can be called from any threads at any time. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#abf2ab8c369f806ad780ffc2cb198fdc1">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a144940aa50648481b2c55aa1c1d49747" name="a144940aa50648481b2c55aa1c1d49747"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a144940aa50648481b2c55aa1c1d49747">◆ </a></span>start()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::start </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Transition to the started state, synchronously. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#af0b8f084b921feed8362fba55c67c1c2">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a983dd368b56405171d6162a53474fb6b" name="a983dd368b56405171d6162a53474fb6b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a983dd368b56405171d6162a53474fb6b">◆ </a></span>stop()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::stop </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Transition to the stopped state, synchronously. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a183e2c26276081c6684b0f65c830e063">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7b106eb8bb9983a45b86a3685875d5ca" name="a7b106eb8bb9983a45b86a3685875d5ca"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7b106eb8bb9983a45b86a3685875d5ca">◆ </a></span>config()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="structripple_1_1PeerFinder_1_1Config.html">Config</a> ripple::PeerFinder::Manager::config </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the configuration for the manager. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#acac935d3db78d6033a0095f161422cc1">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4f94bdaf80e6bdba37b733512789401d" name="a4f94bdaf80e6bdba37b733512789401d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4f94bdaf80e6bdba37b733512789401d">◆ </a></span>addFixedPeer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::addFixedPeer </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td>
|
|
<td class="paramname"><em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> > const & </td>
|
|
<td class="paramname"><em>addresses</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Add a peer that should always be connected. </p>
|
|
<p >This is useful for maintaining a private cluster of peers. The string is the name as specified in the configuration file, along with the set of corresponding IP addresses. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a06be604d80043a7f809ccd7198f40f31">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aeb5e8a50579a9235a9524348714b2641" name="aeb5e8a50579a9235a9524348714b2641"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aeb5e8a50579a9235a9524348714b2641">◆ </a></span>addFallbackStrings()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::addFallbackStrings </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td>
|
|
<td class="paramname"><em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> > const & </td>
|
|
<td class="paramname"><em>strings</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Add a set of strings as fallback IP::Endpoint sources. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>A label used for diagnostics. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a1290e864b0681f8d6763800bf28ec8aa">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af11bbe66704abe1c1d14a28169213d36" name="af11bbe66704abe1c1d14a28169213d36"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af11bbe66704abe1c1d14a28169213d36">◆ </a></span>new_inbound_slot()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > ripple::PeerFinder::Manager::new_inbound_slot </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> const & </td>
|
|
<td class="paramname"><em>local_endpoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> const & </td>
|
|
<td class="paramname"><em>remote_endpoint</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Add a URL as a fallback location to obtain IP::Endpoint sources. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>A label used for diagnostics. Create a new inbound slot with the specified remote endpoint. If nullptr is returned, then the slot could not be assigned. Usually this is because of a detected self-connection. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a4a1560e06df4d80e4b9f262ef92880c7">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ace7534a5e47547adcf981d37d60d50ed" name="ace7534a5e47547adcf981d37d60d50ed"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ace7534a5e47547adcf981d37d60d50ed">◆ </a></span>new_outbound_slot()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > ripple::PeerFinder::Manager::new_outbound_slot </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> const & </td>
|
|
<td class="paramname"><em>remote_endpoint</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Create a new outbound slot with the specified remote endpoint. </p>
|
|
<p >If nullptr is returned, then the slot could not be assigned. Usually this is because of a duplicate connection. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#acf849658e8f0c5e9ef21c2424b4d72ee">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0534c3b8a8b06093ca9aacc03d3e4def" name="a0534c3b8a8b06093ca9aacc03d3e4def"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0534c3b8a8b06093ca9aacc03d3e4def">◆ </a></span>on_endpoints()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::on_endpoints </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const & </td>
|
|
<td class="paramname"><em>slot</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple_1_1PeerFinder.html#a6a3d62f5f7c7102cb3267333bd60f4b1">Endpoints</a> const & </td>
|
|
<td class="paramname"><em>endpoints</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called when mtENDPOINTS is received. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#af05f7bde1f04d25148cdb6b7d936d99c">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a95d15486aa5e71cdd042f7f67dabf797" name="a95d15486aa5e71cdd042f7f67dabf797"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a95d15486aa5e71cdd042f7f67dabf797">◆ </a></span>on_closed()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::on_closed </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const & </td>
|
|
<td class="paramname"><em>slot</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called when the slot is closed. </p>
|
|
<p >This always happens when the socket is closed, unless the socket was canceled. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a0b581151bf586fa9f1b64d250e947358">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad9fd691630ac88a67de0bc400cf06bc7" name="ad9fd691630ac88a67de0bc400cf06bc7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad9fd691630ac88a67de0bc400cf06bc7">◆ </a></span>on_failure()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::on_failure </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const & </td>
|
|
<td class="paramname"><em>slot</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called when an outbound connection is deemed to have failed. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a493009acac1a9bccd55d84632796f0d0">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="add98e08a2601fbbf6b17effc5257a4e0" name="add98e08a2601fbbf6b17effc5257a4e0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#add98e08a2601fbbf6b17effc5257a4e0">◆ </a></span>onRedirects()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::onRedirects </td>
|
|
<td>(</td>
|
|
<td class="paramtype">boost::asio::ip::tcp::endpoint const & </td>
|
|
<td class="paramname"><em>remote_address</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< boost::asio::ip::tcp::endpoint > const & </td>
|
|
<td class="paramname"><em>eps</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called when we received redirect IPs from a busy peer. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ad650e898bfe237cb04ff6c67bdf2cf0d">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7378d056057b32cd7314142e32e52685" name="a7378d056057b32cd7314142e32e52685"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7378d056057b32cd7314142e32e52685">◆ </a></span>onConnected()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual bool ripple::PeerFinder::Manager::onConnected </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const & </td>
|
|
<td class="paramname"><em>slot</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> const & </td>
|
|
<td class="paramname"><em>local_endpoint</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called when an outbound connection attempt succeeds. </p>
|
|
<p >The local endpoint must be valid. If the caller receives an error when retrieving the local endpoint from the socket, it should proceed as if the connection attempt failed by calling on_closed instead of on_connected. </p><dl class="section return"><dt>Returns</dt><dd><code>true</code> if the connection should be kept </dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a65a49b97b14433a3fe61f94654ce2b5f">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aefbe42c26fe3cb06b28e746570d6077a" name="aefbe42c26fe3cb06b28e746570d6077a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aefbe42c26fe3cb06b28e746570d6077a">◆ </a></span>activate()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="namespaceripple_1_1PeerFinder.html#ae15e107cb3b0b67dbf43bd4a0a229c15">Result</a> ripple::PeerFinder::Manager::activate </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const & </td>
|
|
<td class="paramname"><em>slot</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1PublicKey.html">PublicKey</a> const & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>reserved</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Request an active slot type. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#afd752afc44b01916041577fa7c6c8816">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad0f86cbdaf57db1a7a3e1f4e4b802b1f" name="ad0f86cbdaf57db1a7a3e1f4e4b802b1f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad0f86cbdaf57db1a7a3e1f4e4b802b1f">◆ </a></span>redirect()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="structripple_1_1PeerFinder_1_1Endpoint.html">Endpoint</a> > ripple::PeerFinder::Manager::redirect </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> > const & </td>
|
|
<td class="paramname"><em>slot</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns a set of endpoints suitable for redirection. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#ad9124d4ae0e347ed95feb400d591996b">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a534b665ab3b09863230f68a0e7e3564a" name="a534b665ab3b09863230f68a0e7e3564a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a534b665ab3b09863230f68a0e7e3564a">◆ </a></span>autoconnect()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> > ripple::PeerFinder::Manager::autoconnect </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return a set of addresses we should connect to. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a264d954acfa415a11ad5a7722becd285">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9c82747723243bfd5284912b6ca3eba8" name="a9c82747723243bfd5284912b6ca3eba8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9c82747723243bfd5284912b6ca3eba8">◆ </a></span>buildEndpointsForPeers()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1PeerFinder_1_1Slot.html">Slot</a> >, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="structripple_1_1PeerFinder_1_1Endpoint.html">Endpoint</a> > > > ripple::PeerFinder::Manager::buildEndpointsForPeers </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a021ce90133c31cc339ba7ea142bd6790">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a002fe51563bb948e3911e6bbaec72e02" name="a002fe51563bb948e3911e6bbaec72e02"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a002fe51563bb948e3911e6bbaec72e02">◆ </a></span>once_per_second()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void ripple::PeerFinder::Manager::once_per_second </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Perform periodic activity. </p>
|
|
<p >This should be called once per second. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a9818b2efc99a9d862f01c900835b1f98">ripple::PeerFinder::ManagerImp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5672372869d3a59c7cd2f7ce3056ae33" name="a5672372869d3a59c7cd2f7ce3056ae33"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5672372869d3a59c7cd2f7ce3056ae33">◆ </a></span>name()</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/string/basic_string.html">std::string</a> const & beast::PropertyStream::Source::name </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the name of this source. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00190">190</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6b74ac4b0ae83b71d8605412b2fe5c8b" name="a6b74ac4b0ae83b71d8605412b2fe5c8b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6b74ac4b0ae83b71d8605412b2fe5c8b">◆ </a></span>add() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void beast::PropertyStream::Source::add </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html">Source</a> & </td>
|
|
<td class="paramname"><em>source</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Add a child source. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00196">196</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a986ac5abff1a53a1a1f7dde38f0073bc" name="a986ac5abff1a53a1a1f7dde38f0073bc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a986ac5abff1a53a1a1f7dde38f0073bc">◆ </a></span>add() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class Derived > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Derived * beast::PropertyStream::Source::add </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Derived * </td>
|
|
<td class="paramname"><em>child</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Add a child source by pointer. </p>
|
|
<p >The source pointer is returned so it can be used in ctor-initializers. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PropertyStream_8h_source.html#l00360">360</a> of file <a class="el" href="PropertyStream_8h_source.html">PropertyStream.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a556e44cee0e7f79c29d62baf27913926" name="a556e44cee0e7f79c29d62baf27913926"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a556e44cee0e7f79c29d62baf27913926">◆ </a></span>remove()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void beast::PropertyStream::Source::remove </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1PropertyStream_1_1Source.html">Source</a> & </td>
|
|
<td class="paramname"><em>child</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Remove a child source from this <a class="el" href="classripple_1_1PeerFinder_1_1Source.html" title="A static or dynamic source of peer addresses.">Source</a>. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00210">210</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1d00067514e90c8134de3d4777ea083e" name="a1d00067514e90c8134de3d4777ea083e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1d00067514e90c8134de3d4777ea083e">◆ </a></span>removeAll()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void beast::PropertyStream::Source::removeAll </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Remove all child sources from this <a class="el" href="classripple_1_1PeerFinder_1_1Source.html" title="A static or dynamic source of peer addresses.">Source</a>. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00224">224</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8a4d96dfb59e72aa00e5f94fc07e0ab8" name="a8a4d96dfb59e72aa00e5f94fc07e0ab8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a4d96dfb59e72aa00e5f94fc07e0ab8">◆ </a></span>write_one()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void beast::PropertyStream::Source::write_one </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1PropertyStream.html">PropertyStream</a> & </td>
|
|
<td class="paramname"><em>stream</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Write only this <a class="el" href="classripple_1_1PeerFinder_1_1Source.html" title="A static or dynamic source of peer addresses.">Source</a> to the stream. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00237">237</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa2398e48dde9f52949d08ca0785c0bb3" name="aa2398e48dde9f52949d08ca0785c0bb3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa2398e48dde9f52949d08ca0785c0bb3">◆ </a></span>write() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void beast::PropertyStream::Source::write </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1PropertyStream.html">PropertyStream</a> & </td>
|
|
<td class="paramname"><em>stream</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>write this source and all its children recursively to the stream. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00244">244</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a936592a06d57d60b70874e358758c542" name="a936592a06d57d60b70874e358758c542"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a936592a06d57d60b70874e358758c542">◆ </a></span>write() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void beast::PropertyStream::Source::write </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1PropertyStream.html">PropertyStream</a> & </td>
|
|
<td class="paramname"><em>stream</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td>
|
|
<td class="paramname"><em>path</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Parse the path and write the corresponding <a class="el" href="classripple_1_1PeerFinder_1_1Source.html" title="A static or dynamic source of peer addresses.">Source</a> and optional children. </p>
|
|
<p >If the source is found, it is written. If the wildcard character '*' exists as the last character in the path, then all the children are written recursively. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00256">256</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a30f49272d4017476ce3e4694b539b8ae" name="a30f49272d4017476ce3e4694b539b8ae"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a30f49272d4017476ce3e4694b539b8ae">◆ </a></span>find()</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/utility/pair.html">std::pair</a>< PropertyStream::Source *, bool > beast::PropertyStream::Source::find </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </td>
|
|
<td class="paramname"><em>path</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Parse the dot-delimited <a class="el" href="classripple_1_1PeerFinder_1_1Source.html" title="A static or dynamic source of peer addresses.">Source</a> path and return the result. </p>
|
|
<p >The first value will be a pointer to the <a class="el" href="classripple_1_1PeerFinder_1_1Source.html" title="A static or dynamic source of peer addresses.">Source</a> object corresponding to the given path. If no <a class="el" href="classripple_1_1PeerFinder_1_1Source.html" title="A static or dynamic source of peer addresses.">Source</a> object exists, then the first value will be nullptr and the second value will be undefined. The second value is a boolean indicating whether or not the path string specifies the wildcard character '*' as the last character.</p>
|
|
<p >print statement examples "parent.child" prints child and all of its children "parent.child." start at the parent and print down to child "parent.grandchild" prints nothing- grandchild not direct discendent "parent.grandchild." starts at the parent and prints down to grandchild "parent.grandchild.*" starts at parent, print through grandchild children </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00270">270</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a949fcb8686f4cfbb4401bb9a4aad80d7" name="a949fcb8686f4cfbb4401bb9a4aad80d7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a949fcb8686f4cfbb4401bb9a4aad80d7">◆ </a></span>find_one_deep()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">PropertyStream::Source * beast::PropertyStream::Source::find_one_deep </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td>
|
|
<td class="paramname"><em>name</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00337">337</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7982669e8117c921ff644b7e2a552b19" name="a7982669e8117c921ff644b7e2a552b19"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7982669e8117c921ff644b7e2a552b19">◆ </a></span>find_path()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">PropertyStream::Source * beast::PropertyStream::Source::find_path </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </td>
|
|
<td class="paramname"><em>path</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00354">354</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1761f2a6920ca1c5d9543afda4930c45" name="a1761f2a6920ca1c5d9543afda4930c45"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1761f2a6920ca1c5d9543afda4930c45">◆ </a></span>find_one()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">PropertyStream::Source * beast::PropertyStream::Source::find_one </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td>
|
|
<td class="paramname"><em>name</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00372">372</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a12999b1c566cf7208abd535c2561e256" name="a12999b1c566cf7208abd535c2561e256"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a12999b1c566cf7208abd535c2561e256">◆ </a></span>peel_leading_slash()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool beast::PropertyStream::Source::peel_leading_slash </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> * </td>
|
|
<td class="paramname"><em>path</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00290">290</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab971b977e48fc58d6264fa97d94cb6cd" name="ab971b977e48fc58d6264fa97d94cb6cd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab971b977e48fc58d6264fa97d94cb6cd">◆ </a></span>peel_trailing_slashstar()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool beast::PropertyStream::Source::peel_trailing_slashstar </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> * </td>
|
|
<td class="paramname"><em>path</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00301">301</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa9cb8e3df035052930a216cd2f052adc" name="aa9cb8e3df035052930a216cd2f052adc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa9cb8e3df035052930a216cd2f052adc">◆ </a></span>peel_name()</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/string/basic_string.html">std::string</a> beast::PropertyStream::Source::peel_name </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> * </td>
|
|
<td class="paramname"><em>path</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00317">317</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="accd7269755b1a27d4c66715edc1f5915" name="accd7269755b1a27d4c66715edc1f5915"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#accd7269755b1a27d4c66715edc1f5915">◆ </a></span>onWrite()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void beast::PropertyStream::Source::onWrite </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1PropertyStream_1_1Map.html">Map</a> & </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Subclass override. </p>
|
|
<p >The default version does nothing. </p>
|
|
|
|
<p>Reimplemented in <a class="el" href="classripple_1_1Resource_1_1ManagerImp.html#a527375e0f24eac6dd82caeeb7cd42cc5">ripple::Resource::ManagerImp</a>, <a class="el" href="classripple_1_1LedgerCleanerImp.html#acafe1b2bea4bb3820cb697ce5fa711b4">ripple::LedgerCleanerImp</a>, <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a870c8e53e39d362015e4b165fa0be489">ripple::PeerFinder::ManagerImp</a>, <a class="el" href="classripple_1_1ApplicationImp.html#afe72bf359aadee6192a2ec13be0c279f">ripple::ApplicationImp</a>, and <a class="el" href="classripple_1_1OverlayImpl.html#a20efec9ce4b1701e4a988430465cbe24">ripple::OverlayImpl</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="beast__PropertyStream_8cpp_source.html#l00384">384</a> of file <a class="el" href="beast__PropertyStream_8cpp_source.html">beast_PropertyStream.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a4a515a455925039f585dea40bbd018f8" name="a4a515a455925039f585dea40bbd018f8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a515a455925039f585dea40bbd018f8">◆ </a></span>m_name</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/string/basic_string.html">std::string</a> const beast::PropertyStream::Source::m_name</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PropertyStream_8h_source.html#l00333">333</a> of file <a class="el" href="PropertyStream_8h_source.html">PropertyStream.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2d57b2b3b3a8cf812a3ce3b65a82110e" name="a2d57b2b3b3a8cf812a3ce3b65a82110e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2d57b2b3b3a8cf812a3ce3b65a82110e">◆ </a></span>lock_</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> beast::PropertyStream::Source::lock_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PropertyStream_8h_source.html#l00334">334</a> of file <a class="el" href="PropertyStream_8h_source.html">PropertyStream.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abddc979c479f43fd9ac8550cbeab17b4" name="abddc979c479f43fd9ac8550cbeab17b4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abddc979c479f43fd9ac8550cbeab17b4">◆ </a></span>item_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Item beast::PropertyStream::Source::item_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PropertyStream_8h_source.html#l00335">335</a> of file <a class="el" href="PropertyStream_8h_source.html">PropertyStream.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aab0ae58ec30d4c2bce92ff9a8cf2a042" name="aab0ae58ec30d4c2bce92ff9a8cf2a042"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aab0ae58ec30d4c2bce92ff9a8cf2a042">◆ </a></span>parent_</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_1PeerFinder_1_1Source.html">Source</a>* beast::PropertyStream::Source::parent_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PropertyStream_8h_source.html#l00336">336</a> of file <a class="el" href="PropertyStream_8h_source.html">PropertyStream.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a22fe15ec1881c9546cfb785e9ac4aed3" name="a22fe15ec1881c9546cfb785e9ac4aed3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a22fe15ec1881c9546cfb785e9ac4aed3">◆ </a></span>children_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">List<Item> beast::PropertyStream::Source::children_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PropertyStream_8h_source.html#l00337">337</a> of file <a class="el" href="PropertyStream_8h_source.html">PropertyStream.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|