Files
rippled/structripple_1_1test_1_1NetworkOfTwo.html
2024-01-12 17:45:35 +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,809,2668,836"/>
<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,579,2379,605"/>
<area shape="rect" href="structripple_1_1test_1_1LedgerServer_1_1Parameter.html" title=" " alt="" coords="1847,165,2034,206"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="644,643,784,669"/>
<area shape="rect" href="structripple_1_1test_1_1jtx_1_1Env_1_1AppBundle.html" title=" " alt="" coords="1463,461,1588,502"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1022,331,1193,373"/>
<area shape="rect" href="classripple_1_1LedgerReplayMsgHandler.html" title=" " alt="" coords="1409,812,1641,839"/>
<area shape="rect" href="classripple_1_1LedgerReplayer.html" title="Manages the lifetime of ledger replay tasks." alt="" coords="1023,1037,1191,1064"/>
<area shape="rect" href="classripple_1_1LedgerMaster.html" title=" " alt="" coords="1448,1404,1603,1431"/>
<area shape="rect" href="classripple_1_1LedgerHistory.html" title="Retains historical ledgers." alt="" coords="1028,869,1187,896"/>
<area shape="rect" href="classripple_1_1test_1_1LedgerReplayClient.html" title="Ledger replay client side." alt="" coords="2192,995,2380,1037"/>
<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,218,471,259"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="630,225,798,266"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="19,1728,177,1755"/>
<area shape="rect" href="classripple_1_1TaggedCache.html" title=" " alt="" coords="1031,1713,1184,1769"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="55,225,141,252"/>
<area shape="rect" href="classripple_1_1test_1_1jtx_1_1Account.html" title="Immutable cryptographic account descriptor." alt="" coords="1045,99,1170,141"/>
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="5,71,191,113"/>
<area shape="rect" href="classripple_1_1test_1_1jtx_1_1Env.html" title="A transaction testing environment." alt="" coords="1866,579,2015,605"/>
<area shape="rect" href="classripple_1_1test_1_1ManualTimeKeeper.html" title=" " alt="" coords="1017,461,1197,502"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1022,526,1193,567"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/thread.html" title="STL class." alt="" coords="1061,592,1153,619"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1408,54,1643,125"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1427,212,1623,268"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1667,110,1821,151"/>
<area shape="rect" href="classripple_1_1SecretKey.html" title="A secret key." alt="" coords="648,173,780,200"/>
<area shape="rect" href="classripple_1_1PublicKey.html" title="A public key." alt="" coords="649,5,779,32"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="611,57,817,98"/>
<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,947,457,989"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="631,933,797,1003"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="620,1027,808,1098"/>
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="643,751,785,793"/>
<area shape="rect" href="classripple_1_1CanonicalTXSet.html" title="Holds transactions which were deferred to the next pass of consensus." alt="" coords="1023,987,1192,1013"/>
<area shape="rect" href="classbeast_1_1manual__clock.html" title=" " alt="" coords="1445,527,1606,583"/>
<area shape="rect" href="classripple_1_1TERSubset.html" title=" " alt="" coords="1452,607,1599,649"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="659,1247,769,1273"/>
<area shape="rect" href="classripple_1_1InboundLedgers.html" title="Manages the lifetime of inbound ledgers." alt="" coords="629,1305,799,1332"/>
<area shape="rect" href="classripple_1_1test_1_1MagicInboundLedgers.html" title="Simulate a network InboundLedgers." alt="" coords="1845,1397,2036,1438"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="629,1122,799,1163"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="668,1533,760,1560"/>
<area shape="rect" href="classripple_1_1LedgerHolder.html" title="Hold a ledger in a thread&#45;safe way." alt="" coords="1030,1844,1185,1871"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="587,867,841,909"/>
<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,1415,1200,1457"/>
<area shape="rect" href="structripple_1_1LedgerMaster_1_1Stats.html" title=" " alt="" coords="1030,1481,1185,1522"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="663,1455,765,1481"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1004,1612,1211,1639"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="629,1890,799,1931"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic_flag.html" title=" " alt="" coords="1044,1793,1171,1820"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1022,921,1193,962"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="1013,1546,1202,1587"/>
</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#l00840">840</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#l00842">842</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#l00853">853</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#l00854">854</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>