mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
245 lines
18 KiB
HTML
245 lines
18 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::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 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_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> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<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="#aripple_1_1test_1_1NetworkOfTwo_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aripple_1_1test_1_1NetworkOfTwo_coll__map" id="aripple_1_1test_1_1NetworkOfTwo_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="2451,733,2645,759"/>
|
|
<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="2169,497,2356,523"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1jtx_1_1Env.html" title="A transaction testing environment." alt="" coords="1842,447,1991,472"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1LedgerReplayClient.html" title="Ledger replay client side." alt="" coords="2168,962,2357,1002"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1suite.html" title="A testsuite class." alt="" coords="607,261,770,287"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1suite_1_1testcase__t.html" title=" " alt="" coords="1001,203,1163,243"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1runner.html" title="Unit test runner interface." alt="" coords="273,544,447,569"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="41,571,128,596"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1jtx_1_1Account.html" title="Immutable cryptographic account descriptor." alt="" coords="1019,97,1145,137"/>
|
|
<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="276,683,444,723"/>
|
|
<area shape="rect" href="classripple_1_1TaggedCache.html" title=" " alt="" coords="1005,803,1159,857"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="5,740,164,765"/>
|
|
<area shape="rect" href="classripple_1_1LedgerMaster.html" title=" " alt="" coords="1423,1316,1579,1341"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1suite_1_1log__os.html" title=" " alt="" coords="279,254,441,294"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1384,127,1619,197"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1403,48,1599,103"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1643,31,1797,71"/>
|
|
<area shape="rect" href="classripple_1_1PublicKey.html" title="A public key." alt="" coords="623,161,754,187"/>
|
|
<area shape="rect" href="classripple_1_1SecretKey.html" title="A secret key." alt="" coords="623,47,755,72"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="585,97,792,137"/>
|
|
<area shape="rect" href="structripple_1_1test_1_1jtx_1_1Env_1_1AppBundle.html" title=" " alt="" coords="1439,541,1564,581"/>
|
|
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="619,661,759,687"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="997,562,1167,602"/>
|
|
<area shape="rect" href="classripple_1_1LedgerHistory.html" title="Retains historical ledgers." alt="" coords="1003,881,1161,907"/>
|
|
<area shape="rect" href="classripple_1_1LedgerReplayMsgHandler.html" title=" " alt="" coords="1384,969,1619,995"/>
|
|
<area shape="rect" href="classripple_1_1LedgerReplayer.html" title="Manages the lifetime of ledger replay tasks." alt="" coords="997,1652,1167,1677"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1ManualTimeKeeper.html" title=" " alt="" coords="991,447,1173,487"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/thread.html" title=" " alt="" coords="1036,512,1128,537"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="633,972,744,997"/>
|
|
<area shape="rect" href="classbeast_1_1manual__clock.html" title=" " alt="" coords="1421,335,1582,389"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="618,1243,759,1283"/>
|
|
<area shape="rect" href="classripple_1_1CanonicalTXSet.html" title="Holds transactions which were deferred to the next pass of consensus." alt="" coords="997,1287,1167,1312"/>
|
|
<area shape="rect" href="classripple_1_1TERSubset.html" title=" " alt="" coords="1428,414,1575,454"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1MagicInboundLedgers.html" title="Simulate a network InboundLedgers." alt="" coords="1821,1765,2012,1805"/>
|
|
<area shape="rect" href="classripple_1_1AbstractFetchPackContainer.html" title="An interface facilitating retrieval of fetch packs without an application or ledgermaster object." alt="" coords="989,1095,1175,1135"/>
|
|
<area shape="rect" href="classripple_1_1LedgerHolder.html" title="Hold a ledger in a thread-safe way." alt="" coords="1005,1825,1159,1851"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title=" " alt="" coords="643,1876,735,1901"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="603,1810,774,1850"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="987,1222,1177,1262"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="997,1386,1167,1426"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic_flag.html" title=" " alt="" coords="1019,1451,1145,1476"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="979,1336,1185,1361"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="637,1359,740,1384"/>
|
|
<area shape="rect" href="structripple_1_1LedgerMaster_1_1Stats.html" title=" " alt="" coords="1004,1875,1160,1915"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="561,1559,816,1599"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="595,1623,783,1693"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="605,1717,772,1786"/>
|
|
<area shape="rect" href="classripple_1_1InboundLedgers.html" title="Manages the lifetime of inbound ledgers." alt="" coords="603,1928,774,1953"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="603,1495,774,1535"/>
|
|
<area shape="rect" href="structripple_1_1test_1_1LedgerServer_1_1Parameter.html" title=" " alt="" coords="1823,382,2010,422"/>
|
|
</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:a1f19f202787d74ae8baf38f6df253453"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1NetworkOfTwo.html#a1f19f202787d74ae8baf38f6df253453">NetworkOfTwo</a> (<a class="el" href="classbeast_1_1unit__test_1_1suite.html">beast::unit_test::suite</a> &suite, <a class="el" href="structripple_1_1test_1_1LedgerServer_1_1Parameter.html">LedgerServer::Parameter</a> const &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"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" 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> </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"> </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> </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"> </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#l00850">850</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a1f19f202787d74ae8baf38f6df253453" name="a1f19f202787d74ae8baf38f6df253453"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1f19f202787d74ae8baf38f6df253453">◆ </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"><a class="el" href="classbeast_1_1unit__test_1_1suite.html">beast::unit_test::suite</a> & </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 & </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> </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> </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> </td>
|
|
<td class="paramname"><em>peerFeature</em> = <code><a class="el" href="namespaceripple_1_1test.html#a71635c111c539c74ec6bd2065e2e0b3ead26b2afca64340e74d57ba14421d17dc">PeerFeature::LedgerReplayEnabled</a></code> </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#l00852">852</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" name="a28825451941ccd2dcc9d097e6d07b0e5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a28825451941ccd2dcc9d097e6d07b0e5">◆ </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#l00863">863</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa9c855eaca5a1d5c02fc592216a8c186" name="aa9c855eaca5a1d5c02fc592216a8c186"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa9c855eaca5a1d5c02fc592216a8c186">◆ </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#l00864">864</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 <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>
|