Files
rippled/structripple_1_1test_1_1NetworkOfTwo.html
2022-07-19 15:12:23 +00:00

240 lines
17 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::test::NetworkOfTwo Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="namespaceripple_1_1test.html">test</a></li><li class="navelem"><a class="el" href="structripple_1_1test_1_1NetworkOfTwo.html">NetworkOfTwo</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structripple_1_1test_1_1NetworkOfTwo-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::test::NetworkOfTwo Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for ripple::test::NetworkOfTwo:</div>
<div class="dyncontent">
<div class="center"><img src="structripple_1_1test_1_1NetworkOfTwo__coll__graph.png" border="0" usemap="#ripple_1_1test_1_1NetworkOfTwo_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1test_1_1NetworkOfTwo_coll__map" id="ripple_1_1test_1_1NetworkOfTwo_coll__map">
<area shape="rect" title=" " alt="" coords="2473,707,2668,733"/>
<area shape="rect" href="structripple_1_1test_1_1LedgerServer.html" title="Utility class for (1) creating ledgers with txns and (2) providing the ledgers via the ledgerMaster." alt="" coords="2193,516,2379,543"/>
<area shape="rect" href="structripple_1_1test_1_1LedgerServer_1_1Parameter.html" title=" " alt="" coords="1847,151,2034,193"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="644,443,784,469"/>
<area shape="rect" href="structripple_1_1test_1_1jtx_1_1Env_1_1AppBundle.html" title=" " alt="" coords="1463,550,1588,591"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1022,435,1193,477"/>
<area shape="rect" href="classripple_1_1LedgerReplayMsgHandler.html" title=" " alt="" coords="1409,789,1641,816"/>
<area shape="rect" href="classripple_1_1LedgerReplayer.html" title="Manages the lifetime of ledger replay tasks." alt="" coords="1023,945,1191,972"/>
<area shape="rect" href="classripple_1_1LedgerMaster.html" title=" " alt="" coords="1448,1329,1603,1356"/>
<area shape="rect" href="classripple_1_1LedgerHistory.html" title="Retains historical ledgers." alt="" coords="1028,895,1187,921"/>
<area shape="rect" href="classripple_1_1test_1_1LedgerReplayClient.html" title="Ledger replay client side." alt="" coords="2192,815,2380,857"/>
<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="303,263,471,305"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="630,241,798,282"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="19,1912,177,1939"/>
<area shape="rect" href="classripple_1_1TaggedCache.html" title=" " alt="" coords="1031,1861,1184,1917"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="55,271,141,297"/>
<area shape="rect" href="classripple_1_1test_1_1jtx_1_1Account.html" title="Immutable cryptographic account descriptor." alt="" coords="1045,86,1170,127"/>
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="5,122,191,163"/>
<area shape="rect" href="classripple_1_1test_1_1jtx_1_1Env.html" title="A transaction testing environment." alt="" coords="1866,516,2015,543"/>
<area shape="rect" href="classripple_1_1test_1_1ManualTimeKeeper.html" title=" " alt="" coords="1017,1110,1197,1151"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="668,1363,760,1389"/>
<area shape="rect" href="classripple_1_1LedgerHolder.html" title="Hold a ledger in a thread&#45;safe way." alt="" coords="1030,1704,1185,1731"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1022,501,1193,542"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/thread.html" title="STL class." alt="" coords="1061,567,1153,593"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1408,41,1643,111"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1427,199,1623,255"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1667,35,1821,77"/>
<area shape="rect" href="classripple_1_1SecretKey.html" title="A secret key." alt="" coords="648,5,780,32"/>
<area shape="rect" href="classripple_1_1PublicKey.html" title="A public key." alt="" coords="649,56,779,83"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="611,107,817,149"/>
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32&#45;bits." alt="" coords="316,883,457,925"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="631,1094,797,1165"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="620,869,808,939"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="643,683,785,725"/>
<area shape="rect" href="classripple_1_1CanonicalTXSet.html" title="Holds transactions which were deferred to the next pass of consensus." alt="" coords="1023,793,1192,820"/>
<area shape="rect" href="classbeast_1_1manual__clock.html" title=" " alt="" coords="1445,404,1606,460"/>
<area shape="rect" href="classripple_1_1TERSubset.html" title=" " alt="" coords="1452,485,1599,526"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="659,1220,769,1247"/>
<area shape="rect" href="classripple_1_1InboundLedgers.html" title="Manages the lifetime of inbound ledgers." alt="" coords="629,804,799,831"/>
<area shape="rect" href="classripple_1_1test_1_1MagicInboundLedgers.html" title="Simulate a network InboundLedgers." alt="" coords="1845,885,2036,926"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="629,963,799,1005"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="587,1029,841,1070"/>
<area shape="rect" href="classripple_1_1AbstractFetchPackContainer.html" title="An interface facilitating retrieval of fetch packs without an application or ledgermaster object." alt="" coords="1015,1305,1200,1346"/>
<area shape="rect" href="structripple_1_1LedgerMaster_1_1Stats.html" title=" " alt="" coords="1030,1370,1185,1411"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="663,1517,765,1544"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1004,1436,1211,1463"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="629,1749,799,1790"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic_flag.html" title=" " alt="" coords="1044,1941,1171,1968"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1022,1175,1193,1217"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="1013,1638,1202,1679"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1f19f202787d74ae8baf38f6df253453"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1NetworkOfTwo.html#a1f19f202787d74ae8baf38f6df253453">NetworkOfTwo</a> (beast::unit_test::suite &amp;suite, <a class="el" href="structripple_1_1test_1_1LedgerServer_1_1Parameter.html">LedgerServer::Parameter</a> const &amp;param, <a class="el" href="namespaceripple_1_1test.html#a6e324fd8fc463ac8f4a1d1a185511db1">PeerSetBehavior</a> behavior=<a class="el" href="namespaceripple_1_1test.html#a6e324fd8fc463ac8f4a1d1a185511db1a0c6ad70beb3a7e76c3fc7adab7c46acc">PeerSetBehavior::Good</a>, <a class="el" href="namespaceripple_1_1test.html#a5aee00287e1907a9876b3247864d6f0a">InboundLedgersBehavior</a> inboundBhvr=<a class="el" href="namespaceripple_1_1test.html#a5aee00287e1907a9876b3247864d6f0aa0c6ad70beb3a7e76c3fc7adab7c46acc">InboundLedgersBehavior::Good</a>, <a class="el" href="namespaceripple_1_1test.html#a71635c111c539c74ec6bd2065e2e0b3e">PeerFeature</a> peerFeature=<a class="el" href="namespaceripple_1_1test.html#a71635c111c539c74ec6bd2065e2e0b3ead26b2afca64340e74d57ba14421d17dc">PeerFeature::LedgerReplayEnabled</a>)</td></tr>
<tr class="separator:a1f19f202787d74ae8baf38f6df253453"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a28825451941ccd2dcc9d097e6d07b0e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1test_1_1LedgerServer.html">LedgerServer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1NetworkOfTwo.html#a28825451941ccd2dcc9d097e6d07b0e5">server</a></td></tr>
<tr class="separator:a28825451941ccd2dcc9d097e6d07b0e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9c855eaca5a1d5c02fc592216a8c186"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1test_1_1LedgerReplayClient.html">LedgerReplayClient</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1NetworkOfTwo.html#aa9c855eaca5a1d5c02fc592216a8c186">client</a></td></tr>
<tr class="separator:aa9c855eaca5a1d5c02fc592216a8c186"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00834">834</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1f19f202787d74ae8baf38f6df253453"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f19f202787d74ae8baf38f6df253453">&#9670;&nbsp;</a></span>NetworkOfTwo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::test::NetworkOfTwo::NetworkOfTwo </td>
<td>(</td>
<td class="paramtype">beast::unit_test::suite &amp;&#160;</td>
<td class="paramname"><em>suite</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structripple_1_1test_1_1LedgerServer_1_1Parameter.html">LedgerServer::Parameter</a> const &amp;&#160;</td>
<td class="paramname"><em>param</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple_1_1test.html#a6e324fd8fc463ac8f4a1d1a185511db1">PeerSetBehavior</a>&#160;</td>
<td class="paramname"><em>behavior</em> = <code><a class="el" href="namespaceripple_1_1test.html#a6e324fd8fc463ac8f4a1d1a185511db1a0c6ad70beb3a7e76c3fc7adab7c46acc">PeerSetBehavior::Good</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple_1_1test.html#a5aee00287e1907a9876b3247864d6f0a">InboundLedgersBehavior</a>&#160;</td>
<td class="paramname"><em>inboundBhvr</em> = <code><a class="el" href="namespaceripple_1_1test.html#a5aee00287e1907a9876b3247864d6f0aa0c6ad70beb3a7e76c3fc7adab7c46acc">InboundLedgersBehavior::Good</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple_1_1test.html#a71635c111c539c74ec6bd2065e2e0b3e">PeerFeature</a>&#160;</td>
<td class="paramname"><em>peerFeature</em> = <code><a class="el" href="namespaceripple_1_1test.html#a71635c111c539c74ec6bd2065e2e0b3ead26b2afca64340e74d57ba14421d17dc">PeerFeature::LedgerReplayEnabled</a></code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00836">836</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a28825451941ccd2dcc9d097e6d07b0e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28825451941ccd2dcc9d097e6d07b0e5">&#9670;&nbsp;</a></span>server</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1test_1_1LedgerServer.html">LedgerServer</a> ripple::test::NetworkOfTwo::server</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00847">847</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="aa9c855eaca5a1d5c02fc592216a8c186"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9c855eaca5a1d5c02fc592216a8c186">&#9670;&nbsp;</a></span>client</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1test_1_1LedgerReplayClient.html">LedgerReplayClient</a> ripple::test::NetworkOfTwo::client</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00848">848</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>