mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
555 lines
46 KiB
HTML
555 lines
46 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.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: ripple::test::TestPeerSet 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.8 -->
|
|
<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_1TestPeerSet.html">TestPeerSet</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_1TestPeerSet-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">ripple::test::TestPeerSet Struct Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Simulate a peerSet that supplies peers to ledger replay subtasks.
|
|
<a href="structripple_1_1test_1_1TestPeerSet.html#details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for ripple::test::TestPeerSet:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="structripple_1_1test_1_1TestPeerSet__inherit__graph.png" border="0" usemap="#aripple_1_1test_1_1TestPeerSet_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aripple_1_1test_1_1TestPeerSet_inherit__map" id="aripple_1_1test_1_1TestPeerSet_inherit__map">
|
|
<area shape="rect" title="Simulate a peerSet that supplies peers to ledger replay subtasks." alt="" coords="5,79,181,104"/>
|
|
<area shape="rect" href="classripple_1_1PeerSet.html" title="Supports data retrieval by managing a set of peers." alt="" coords="35,5,152,31"/>
|
|
<area shape="poly" title=" " alt="" coords="96,44,96,79,91,79,91,44"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::test::TestPeerSet:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="structripple_1_1test_1_1TestPeerSet__coll__graph.png" border="0" usemap="#aripple_1_1test_1_1TestPeerSet_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aripple_1_1test_1_1TestPeerSet_coll__map" id="aripple_1_1test_1_1TestPeerSet_coll__map">
|
|
<area shape="rect" title="Simulate a peerSet that supplies peers to ledger replay subtasks." alt="" coords="4517,718,4693,744"/>
|
|
<area shape="rect" href="classripple_1_1PeerSet.html" title="Supports data retrieval by managing a set of peers." alt="" coords="1329,265,1447,290"/>
|
|
<area shape="poly" title=" " alt="" coords="1457,261,1470,251,1481,234,1485,217,1482,183,1478,148,1483,129,1494,111,1529,73,1564,45,1599,26,1635,14,1674,7,1716,4,1815,3,4306,3,4336,10,4365,30,4393,61,4419,102,4444,150,4467,204,4509,324,4545,449,4573,565,4604,717,4599,718,4568,566,4540,450,4504,326,4462,206,4439,152,4414,105,4389,65,4362,34,4334,15,4305,8,1815,8,1716,9,1674,12,1636,19,1601,31,1567,50,1533,77,1498,114,1487,131,1484,148,1487,183,1490,218,1486,236,1474,254,1460,265"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1731,260,1902,300"/>
|
|
<area shape="poly" title=" " alt="" coords="1460,276,1731,277,1731,283,1460,281"/>
|
|
<area shape="rect" href="classripple_1_1LedgerReplayMsgHandler.html" title=" " alt="" coords="4187,718,4421,744"/>
|
|
<area shape="poly" title=" " alt="" coords="4435,728,4517,728,4517,734,4435,734"/>
|
|
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="1318,314,1458,340"/>
|
|
<area shape="poly" title=" " alt="" coords="1465,305,1470,300,1479,287,1483,274,1482,247,1481,218,1485,203,1494,188,1530,148,1564,117,1598,94,1634,77,1672,66,1714,59,1815,55,3990,55,4044,62,4092,80,4133,109,4169,146,4199,191,4225,241,4246,296,4263,352,4286,468,4299,576,4305,663,4305,718,4300,718,4299,663,4294,576,4281,469,4258,354,4241,297,4220,243,4195,194,4165,150,4130,113,4089,85,4043,67,3990,60,1815,60,1715,64,1673,71,1636,82,1601,98,1567,121,1534,152,1498,191,1489,205,1486,219,1487,246,1488,274,1484,289,1474,304,1469,309"/>
|
|
<area shape="rect" href="classripple_1_1LedgerReplayer.html" title="Manages the lifetime of ledger replay tasks." alt="" coords="3904,718,4073,744"/>
|
|
<area shape="poly" title=" " alt="" coords="1461,306,1470,300,1478,290,1482,280,1486,269,1494,257,1542,214,1585,187,1691,142,1751,115,1779,108,1815,106,2437,106,2803,111,3169,116,3622,116,3674,122,3722,139,3764,165,3802,199,3835,239,3864,284,3890,333,3912,385,3946,489,3969,587,3982,667,3989,718,3983,719,3977,668,3963,588,3941,491,3907,387,3885,336,3860,287,3831,242,3798,202,3761,169,3719,144,3673,128,3622,122,3169,122,2803,116,2437,111,1815,111,1780,114,1753,121,1693,147,1587,192,1545,219,1498,261,1491,272,1487,282,1483,293,1474,304,1464,311"/>
|
|
<area shape="rect" href="classripple_1_1TimeoutCounter.html" title="This class is an "active" object." alt="" coords="1731,580,1903,605"/>
|
|
<area shape="poly" title=" " alt="" coords="1472,332,1523,342,1576,360,1627,386,1650,403,1670,423,1680,438,1684,453,1683,481,1682,509,1685,523,1694,537,1723,562,1758,577,1755,582,1720,566,1690,541,1680,525,1677,510,1678,481,1679,454,1675,440,1666,426,1646,407,1624,390,1574,365,1521,347,1471,337"/>
|
|
<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="903,267,1071,307"/>
|
|
<area shape="poly" title=" " alt="" coords="1085,294,1318,318,1317,323,1084,300"/>
|
|
<area shape="poly" title=" " alt="" coords="957,251,968,243,987,240,1003,243,1014,249,1019,258,1017,267,1012,266,1014,258,1011,252,1002,248,987,246,970,248,960,255"/>
|
|
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="1304,200,1472,240"/>
|
|
<area shape="poly" title=" " alt="" coords="1084,291,1180,287,1231,279,1279,266,1291,259,1303,250,1329,238,1331,243,1305,255,1294,263,1281,271,1232,284,1181,292,1085,296"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="612,566,699,592"/>
|
|
<area shape="poly" title=" " alt="" coords="671,553,713,497,770,436,800,415,826,404,851,392,877,369,884,356,887,344,891,331,901,317,917,305,920,309,905,321,896,333,893,345,889,358,881,373,854,396,828,409,802,420,774,440,717,500,675,556"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1TestPeer.html" title="Simulate a network peer." alt="" coords="909,1166,1064,1192"/>
|
|
<area shape="poly" title=" " alt="" coords="713,592,732,602,750,615,760,626,765,637,774,662,806,714,834,754,859,795,881,852,886,882,887,920,885,1008,886,1095,893,1129,905,1154,918,1164,914,1168,901,1157,888,1131,881,1095,879,1008,882,920,881,882,876,853,854,797,830,757,802,717,770,664,760,639,755,629,746,618,729,606,710,597"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="297,559,435,599"/>
|
|
<area shape="poly" title=" " alt="" coords="449,576,612,576,612,582,449,582"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="576,370,735,396"/>
|
|
<area shape="poly" title=" " alt="" coords="716,364,878,318,921,305,923,310,879,323,717,369"/>
|
|
<area shape="poly" title=" " alt="" coords="741,396,1746,577,1745,582,740,401"/>
|
|
<area shape="poly" title=" " alt="" coords="1290,228,1195,237,1095,254,1041,270,1039,264,1094,249,1195,232,1290,223"/>
|
|
<area shape="rect" title=" " alt="" coords="913,332,1060,357"/>
|
|
<area shape="poly" title=" " alt="" coords="1074,348,1124,346,1177,339,1230,323,1278,297,1287,287,1290,276,1293,263,1302,251,1319,238,1322,243,1306,254,1298,266,1295,277,1292,290,1282,301,1232,328,1179,344,1124,352,1074,354"/>
|
|
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="563,287,748,327"/>
|
|
<area shape="poly" title=" " alt="" coords="762,298,902,290,902,295,762,303"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="322,460,410,485"/>
|
|
<area shape="poly" title=" " alt="" coords="399,450,561,356,616,325,619,329,564,360,402,455"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32-bits." alt="" coords="1317,612,1459,652"/>
|
|
<area shape="poly" title=" " alt="" coords="424,472,703,491,886,512,1071,541,1210,574,1328,610,1327,615,1209,579,1070,546,886,517,703,497,423,477"/>
|
|
<area shape="rect" href="classripple_1_1PublicKey.html" title="A public key." alt="" coords="590,1166,721,1192"/>
|
|
<area shape="poly" title=" " alt="" coords="404,490,434,514,460,546,482,590,496,632,505,674,508,714,505,791,495,865,487,937,486,972,490,1008,498,1044,513,1080,535,1116,565,1153,577,1163,591,1170,589,1175,574,1168,561,1157,530,1119,508,1082,493,1045,485,1009,481,973,481,936,489,864,499,790,503,714,500,674,491,634,477,592,455,549,430,518,400,495"/>
|
|
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="275,280,457,334"/>
|
|
<area shape="poly" title=" " alt="" coords="471,304,563,304,563,310,471,310"/>
|
|
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="5,287,173,327"/>
|
|
<area shape="poly" title=" " alt="" coords="187,304,274,304,274,310,187,310"/>
|
|
<area shape="poly" title=" " alt="" coords="64,271,73,263,89,260,103,263,113,269,117,278,115,287,110,286,112,278,109,272,102,268,89,266,75,268,68,275"/>
|
|
<area shape="poly" title=" " alt="" coords="4087,728,4187,728,4187,734,4087,734"/>
|
|
<area shape="rect" href="classripple_1_1LedgerReplayTask.html" title=" " alt="" coords="2948,930,3133,956"/>
|
|
<area shape="poly" title=" " alt="" coords="3955,753,3920,770,3881,786,3781,816,3695,836,3618,850,3546,860,3396,877,3309,889,3206,908,3095,933,3094,928,3205,903,3308,884,3396,871,3546,854,3618,845,3694,831,3779,810,3879,781,3918,765,3952,748"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title=" " alt="" coords="3575,769,3667,794"/>
|
|
<area shape="poly" title=" " alt="" coords="3680,779,3774,775,3879,762,3953,741,3954,746,3881,767,3775,780,3680,784"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="3493,910,3748,950"/>
|
|
<area shape="poly" title=" " alt="" coords="3761,919,3822,904,3879,877,3915,846,3944,808,3966,771,3980,743,3984,745,3971,774,3949,811,3919,849,3881,881,3824,909,3763,924"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="3205,918,3376,958"/>
|
|
<area shape="poly" title=" " alt="" coords="3390,933,3493,930,3493,936,3390,938"/>
|
|
<area shape="poly" title=" " alt="" coords="3147,938,3205,937,3205,942,3147,944"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,608,1943,628,1956,650,1960,672,1953,714,1949,734,1948,753,1953,772,1967,789,1988,804,2007,813,2026,816,2045,816,2086,805,2135,789,2146,780,2159,771,2213,759,2256,758,2355,771,2451,785,2549,803,2736,847,2895,893,3003,928,3002,933,2893,898,2735,853,2548,808,2450,790,2354,776,2256,763,2213,764,2161,776,2150,785,2137,794,2088,811,2046,821,2025,822,2005,818,1985,809,1963,793,1948,774,1942,754,1943,733,1948,713,1955,672,1951,651,1939,632,1914,612"/>
|
|
<area shape="rect" href="classripple_1_1SkipListAcquire.html" title="Manage the retrieval of a skip list in a ledger from the network." alt="" coords="2174,580,2341,605"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,590,2174,590,2174,595,1917,595"/>
|
|
<area shape="rect" href="classripple_1_1LedgerDeltaAcquire.html" title="Manage the retrieval of a ledger delta (header and transactions) from the network." alt="" coords="2160,440,2355,465"/>
|
|
<area shape="poly" title=" " alt="" coords="1916,579,2040,561,2096,550,2135,538,2167,522,2196,501,2241,463,2245,467,2200,506,2170,526,2137,543,2097,555,2041,566,1916,584"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1333,1212,1443,1237"/>
|
|
<area shape="poly" title=" " alt="" coords="1455,1238,1618,1269,1716,1281,1815,1286,3990,1286,4035,1281,4076,1266,4113,1243,4145,1213,4173,1177,4198,1137,4220,1093,4238,1046,4266,952,4284,864,4299,744,4304,744,4289,864,4271,953,4243,1048,4225,1095,4203,1139,4178,1180,4149,1217,4116,1247,4079,1271,4037,1286,3990,1291,1815,1291,1716,1286,1617,1274,1454,1243"/>
|
|
<area shape="poly" title=" " alt="" coords="1457,1225,1620,1232,1815,1235,2651,1235,3169,1234,3622,1234,3667,1229,3708,1216,3746,1196,3780,1169,3812,1136,3840,1100,3889,1019,3927,934,3954,854,3982,743,3987,745,3959,855,3932,936,3894,1021,3845,1103,3816,1140,3784,1173,3749,1200,3710,1221,3668,1234,3622,1239,3169,1239,2651,1240,1815,1240,1620,1237,1457,1231"/>
|
|
<area shape="poly" title=" " alt="" coords="1392,1198,1420,1093,1445,1020,1477,939,1516,855,1565,772,1623,695,1655,660,1690,628,1713,613,1738,603,1740,608,1715,618,1694,632,1659,664,1627,698,1569,775,1521,858,1481,941,1450,1021,1426,1094,1397,1199"/>
|
|
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="913,1117,1060,1142"/>
|
|
<area shape="poly" title=" " alt="" coords="1055,1143,1334,1209,1332,1214,1054,1148"/>
|
|
<area shape="poly" title=" " alt="" coords="1472,622,1730,598,1731,603,1472,627"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="2947,623,3135,692"/>
|
|
<area shape="poly" title=" " alt="" coords="1427,659,1542,740,1616,784,1693,822,1767,851,1826,868,1887,879,1966,888,2051,894,2136,888,2531,848,2795,818,2885,806,2921,798,2929,789,2933,779,2934,758,2934,735,2944,710,2964,691,2967,694,2949,713,2939,736,2940,758,2939,780,2934,792,2924,803,2885,811,2796,823,2532,853,2136,894,2051,899,1965,894,1886,884,1825,873,1765,856,1691,827,1613,789,1539,744,1424,663"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="2957,522,3124,591"/>
|
|
<area shape="poly" title=" " alt="" coords="1396,598,1409,559,1429,514,1457,470,1494,433,1518,420,1542,415,1586,418,1607,420,1627,419,1647,412,1666,396,1674,379,1678,354,1676,290,1675,226,1680,200,1690,183,1711,167,1735,155,1793,141,1862,137,1940,143,2026,158,2118,179,2214,207,2313,239,2510,313,2695,390,2853,463,2971,519,2969,524,2851,467,2693,395,2508,317,2311,244,2213,212,2117,184,2025,163,1940,149,1862,143,1794,146,1737,160,1714,172,1694,186,1685,202,1680,226,1681,290,1683,354,1679,381,1670,399,1649,416,1628,424,1607,425,1586,423,1542,420,1520,425,1498,437,1462,473,1434,517,1414,561,1401,600"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="903,623,1071,663"/>
|
|
<area shape="poly" title=" " alt="" coords="1085,638,1317,632,1317,637,1085,643"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="604,629,707,654"/>
|
|
<area shape="poly" title=" " alt="" coords="720,639,902,640,902,645,720,645"/>
|
|
<area shape="rect" href="classripple_1_1LedgerReplayTask_1_1TaskParameter.html" title=" " alt="" coords="1095,975,1280,1015"/>
|
|
<area shape="poly" title=" " alt="" coords="673,665,714,727,742,761,774,792,816,824,862,854,958,905,1049,944,1124,973,1122,978,1047,949,955,909,860,858,813,828,770,796,738,765,710,730,668,668"/>
|
|
<area shape="poly" title=" " alt="" coords="685,661,725,688,773,710,831,725,877,730,985,728,1818,728,1909,734,1982,741,2016,741,2051,737,2090,727,2135,710,2172,687,2203,658,2246,604,2250,607,2207,661,2175,692,2137,715,2092,732,2052,742,2016,747,1982,746,1909,739,1818,734,985,734,877,736,830,731,771,715,722,692,682,665"/>
|
|
<area shape="poly" title=" " alt="" coords="700,621,747,601,771,589,929,507,1000,475,1094,442,1151,428,1201,422,1288,420,1329,419,1372,414,1418,401,1470,378,1482,366,1495,354,1562,330,1621,319,1674,316,1725,321,1831,337,1893,345,1965,347,2014,343,2052,337,2090,336,2137,347,2173,366,2204,391,2248,438,2244,441,2201,395,2170,370,2135,352,2090,341,2053,342,2014,349,1965,352,1893,350,1831,343,1724,326,1674,322,1621,324,1563,336,1497,359,1486,370,1474,383,1420,406,1373,419,1329,425,1288,426,1201,427,1152,433,1095,447,1002,480,931,512,773,594,749,606,702,626"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="1496,437,1668,492"/>
|
|
<area shape="poly" title=" " alt="" coords="720,627,1495,478,1496,483,721,632"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="2531,1046,2769,1086"/>
|
|
<area shape="poly" title=" " alt="" coords="2767,1040,2844,1021,2922,997,2972,975,3015,954,3017,958,2975,980,2924,1002,2846,1026,2769,1045"/>
|
|
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="2565,1110,2735,1150"/>
|
|
<area shape="poly" title=" " alt="" coords="2748,1105,2835,1077,2879,1058,2921,1036,2980,993,3024,954,3028,958,2984,997,2924,1040,2882,1063,2837,1082,2749,1110"/>
|
|
<area shape="rect" href="classripple_1_1InboundLedgers.html" title="Manages the lifetime of inbound ledgers." alt="" coords="1731,788,1902,813"/>
|
|
<area shape="poly" title=" " alt="" coords="1892,813,1966,823,2051,827,2136,823,2274,813,2390,799,2587,767,2682,752,2784,740,2901,732,3039,728,3622,728,3904,728,3904,734,3622,734,3039,734,2901,737,2785,745,2683,758,2588,773,2391,804,2274,818,2136,828,2051,833,1965,828,1891,818"/>
|
|
<area shape="poly" title=" " alt="" coords="1845,820,1899,858,1932,877,1966,893,2019,909,2061,916,2160,922,2382,937,2601,944,2798,945,2948,943,2948,948,2798,950,2601,949,2381,943,2160,927,2060,921,2017,914,1964,898,1929,882,1896,862,1842,824"/>
|
|
<area shape="poly" title=" " alt="" coords="1916,807,1969,806,2026,800,2082,786,2135,762,2157,746,2177,726,2211,681,2235,637,2249,604,2254,606,2240,640,2215,684,2181,730,2161,750,2137,767,2084,791,2027,805,1969,811,1916,812"/>
|
|
<area shape="poly" title=" " alt="" coords="1862,780,1965,742,2016,729,2059,724,2097,713,2115,701,2134,683,2144,669,2149,655,2150,629,2149,600,2158,566,2176,535,2198,506,2239,463,2243,467,2202,510,2181,538,2162,568,2154,600,2155,629,2154,656,2148,671,2138,686,2118,705,2099,718,2060,729,2017,735,1966,747,1864,785"/>
|
|
<area shape="poly" title=" " alt="" coords="1262,1017,1369,1049,1514,1088,1691,1129,1891,1165,2108,1191,2220,1199,2334,1203,2448,1201,2561,1194,2673,1180,2782,1159,2825,1148,2857,1136,2886,1118,2921,1092,2957,1057,2988,1018,3030,955,3034,958,2993,1022,2961,1061,2924,1096,2889,1123,2859,1141,2826,1153,2783,1164,2674,1185,2561,1199,2448,1207,2334,1208,2220,1205,2108,1197,1891,1170,1690,1134,1513,1094,1367,1054,1260,1022"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2565,664,2735,704"/>
|
|
<area shape="poly" title=" " alt="" coords="2749,706,2838,740,2883,764,2924,793,2960,828,2992,866,3034,929,3030,932,2988,869,2957,832,2921,797,2881,769,2836,745,2747,711"/>
|
|
<area shape="poly" title=" " alt="" coords="2326,606,2565,662,2564,667,2325,611"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="2569,536,2731,576"/>
|
|
<area shape="poly" title=" " alt="" coords="2354,581,2568,561,2569,567,2354,586"/>
|
|
<area shape="poly" title=" " alt="" coords="1883,304,2005,363,2074,403,2138,449,2188,505,2248,578,2243,581,2184,509,2134,453,2071,408,2003,368,1880,308"/>
|
|
<area shape="poly" title=" " alt="" coords="1916,268,1969,268,2026,273,2083,285,2137,306,2178,336,2211,373,2236,410,2252,438,2247,441,2232,412,2207,376,2174,340,2135,311,2082,290,2025,278,1969,273,1916,273"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1715,502,1918,528"/>
|
|
<area shape="poly" title=" " alt="" coords="1904,528,2185,577,2184,582,1903,533"/>
|
|
<area shape="poly" title=" " alt="" coords="1920,498,2167,463,2167,468,1921,503"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1731,642,1902,682"/>
|
|
<area shape="poly" title=" " alt="" coords="1858,688,1901,727,1944,774,1951,788,1954,801,1958,812,1967,822,2012,831,2121,844,2443,878,2923,926,2948,929,2947,934,2922,931,2442,884,2120,849,2011,836,1964,827,1953,815,1949,803,1946,790,1939,777,1898,730,1854,692"/>
|
|
<area shape="poly" title=" " alt="" coords="1916,664,1969,661,2027,652,2083,635,2134,608,2143,599,2148,589,2158,566,2203,507,2242,463,2246,467,2207,511,2162,569,2152,592,2148,602,2138,612,2085,640,2028,657,1970,667,1916,670"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="2517,982,2783,1022"/>
|
|
<area shape="poly" title=" " alt="" coords="2796,992,2922,975,3003,953,3004,958,2923,980,2797,997"/>
|
|
<area shape="poly" title=" " alt="" coords="3148,661,3535,683,3735,697,3880,710,3921,716,3920,721,3880,715,3734,702,3534,688,3148,666"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="2563,600,2737,640"/>
|
|
<area shape="poly" title=" " alt="" coords="2751,627,2947,646,2946,652,2750,633"/>
|
|
<area shape="poly" title=" " alt="" coords="2324,467,2410,499,2454,522,2495,551,2503,560,2507,570,2511,578,2519,586,2540,598,2564,607,2562,612,2538,603,2516,591,2507,581,2503,572,2499,563,2492,554,2451,526,2407,503,2322,471"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="1692,375,1941,415"/>
|
|
<area shape="poly" title=" " alt="" coords="1911,370,1963,362,2020,359,2079,361,2137,373,2169,386,2199,403,2244,438,2241,442,2196,407,2167,390,2135,378,2079,367,2020,364,1964,368,1912,375"/>
|
|
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="1727,196,1907,236"/>
|
|
<area shape="poly" title=" " alt="" coords="1920,203,1973,203,2030,209,2086,224,2137,249,2163,269,2185,293,2220,348,2243,400,2255,439,2250,441,2238,402,2215,350,2181,297,2159,273,2135,253,2084,229,2029,215,1973,208,1920,208"/>
|
|
<area shape="poly" title=" " alt="" coords="1682,458,1965,451,2160,450,2160,455,1965,456,1682,464"/>
|
|
<area shape="poly" title=" " alt="" coords="3138,579,3206,594,3308,611,3395,622,3544,633,3693,649,3780,664,3881,687,3961,716,3959,721,3879,692,3779,669,3692,654,3544,639,3395,627,3307,616,3205,599,3137,584"/>
|
|
<area shape="poly" title=" " alt="" coords="2745,554,2957,554,2957,559,2745,559"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="3535,552,3706,592"/>
|
|
<area shape="poly" title=" " alt="" coords="3720,569,3801,580,3842,592,3881,609,3916,633,3944,663,3982,717,3978,720,3940,667,3912,637,3879,613,3841,597,3800,585,3720,574"/>
|
|
<area shape="rect" href="classripple_1_1PeerSetBuilder.html" title=" " alt="" coords="3209,560,3372,585"/>
|
|
<area shape="poly" title=" " alt="" coords="3386,570,3535,570,3535,575,3386,575"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1965,1327,2136,1367"/>
|
|
<area shape="poly" title=" " alt="" coords="2150,1346,2435,1347,4305,1347,4354,1341,4397,1325,4435,1299,4468,1266,4496,1226,4520,1180,4540,1131,4556,1080,4580,974,4593,876,4601,744,4607,744,4599,876,4585,975,4561,1081,4545,1133,4525,1183,4500,1229,4472,1269,4438,1304,4399,1330,4355,1347,4305,1352,2435,1352,2150,1351"/>
|
|
<area shape="poly" title=" " alt="" coords="1046,1193,1305,1262,1400,1286,1496,1305,1624,1320,1752,1331,1965,1342,1965,1348,1751,1336,1623,1325,1496,1310,1399,1292,1303,1267,1045,1198"/>
|
|
<area shape="rect" href="classripple_1_1Peer.html" title="Represents a peer connection in the overlay." alt="" coords="607,1117,703,1142"/>
|
|
<area shape="poly" title=" " alt="" coords="717,1134,879,1157,921,1164,920,1169,878,1162,716,1140"/>
|
|
<area shape="poly" title=" " alt="" coords="734,1176,909,1176,909,1182,734,1182"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="319,1166,413,1192"/>
|
|
<area shape="poly" title=" " alt="" coords="427,1176,590,1176,590,1182,427,1182"/>
|
|
</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:a6a72d6274a497c5c6b7a2b5d59519d85" id="r_a6a72d6274a497c5c6b7a2b5d59519d85"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1TestPeerSet.html#a6a72d6274a497c5c6b7a2b5d59519d85">TestPeerSet</a> (<a class="el" href="classripple_1_1LedgerReplayMsgHandler.html">LedgerReplayMsgHandler</a> &me, <a class="el" href="classripple_1_1LedgerReplayMsgHandler.html">LedgerReplayMsgHandler</a> &other, <a class="el" href="namespaceripple_1_1test.html#a6e324fd8fc463ac8f4a1d1a185511db1">PeerSetBehavior</a> bhvr, bool enableLedgerReplay)</td></tr>
|
|
<tr class="separator:a6a72d6274a497c5c6b7a2b5d59519d85"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a24a2832c1d285a0c81fb5411792645b8" id="r_a24a2832c1d285a0c81fb5411792645b8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1TestPeerSet.html#a24a2832c1d285a0c81fb5411792645b8">addPeers</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> limit, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>< bool(<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Peer.html">Peer</a> > const &)> hasItem, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>< void(<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Peer.html">Peer</a> > const &)> onPeerAdded) override</td></tr>
|
|
<tr class="memdesc:a24a2832c1d285a0c81fb5411792645b8"><td class="mdescLeft"> </td><td class="mdescRight">Try add more peers. <br /></td></tr>
|
|
<tr class="separator:a24a2832c1d285a0c81fb5411792645b8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7cd356ffd4275c4238124677dbe992d3" id="r_a7cd356ffd4275c4238124677dbe992d3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1TestPeerSet.html#a7cd356ffd4275c4238124677dbe992d3">sendRequest</a> (::google::protobuf::Message const &msg, protocol::MessageType type, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Peer.html">Peer</a> > const &peer) override</td></tr>
|
|
<tr class="separator:a7cd356ffd4275c4238124677dbe992d3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2219852ebf7c6a76cbe930b76780811" id="r_ae2219852ebf7c6a76cbe930b76780811"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>< <a class="el" href="classripple_1_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">Peer::id_t</a> > const & </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1TestPeerSet.html#ae2219852ebf7c6a76cbe930b76780811">getPeerIds</a> () const override</td></tr>
|
|
<tr class="memdesc:ae2219852ebf7c6a76cbe930b76780811"><td class="mdescLeft"> </td><td class="mdescRight">get the set of ids of previously added peers <br /></td></tr>
|
|
<tr class="separator:ae2219852ebf7c6a76cbe930b76780811"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a751ba29d7fa5e1411ddd406e84f84d67" id="r_a751ba29d7fa5e1411ddd406e84f84d67"><td class="memTemplParams" colspan="2">template<typename MessageType > </td></tr>
|
|
<tr class="memitem:a751ba29d7fa5e1411ddd406e84f84d67"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classripple_1_1PeerSet.html#a751ba29d7fa5e1411ddd406e84f84d67">sendRequest</a> (MessageType const &message, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Peer.html">Peer</a> > const &peer)</td></tr>
|
|
<tr class="memdesc:a751ba29d7fa5e1411ddd406e84f84d67"><td class="mdescLeft"> </td><td class="mdescRight">send a message <br /></td></tr>
|
|
<tr class="separator:a751ba29d7fa5e1411ddd406e84f84d67"><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:af1310036749ef7c1dde3ade149e9c281" id="r_af1310036749ef7c1dde3ade149e9c281"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1LedgerReplayMsgHandler.html">LedgerReplayMsgHandler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1TestPeerSet.html#af1310036749ef7c1dde3ade149e9c281">local</a></td></tr>
|
|
<tr class="separator:af1310036749ef7c1dde3ade149e9c281"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5c3a351bb9f2eefa2a86787961cceacb" id="r_a5c3a351bb9f2eefa2a86787961cceacb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1LedgerReplayMsgHandler.html">LedgerReplayMsgHandler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1TestPeerSet.html#a5c3a351bb9f2eefa2a86787961cceacb">remote</a></td></tr>
|
|
<tr class="separator:a5c3a351bb9f2eefa2a86787961cceacb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af8c75a40184be023eec9d78417a8c7df" id="r_af8c75a40184be023eec9d78417a8c7df"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1test_1_1TestPeer.html">TestPeer</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1TestPeerSet.html#af8c75a40184be023eec9d78417a8c7df">dummyPeer</a></td></tr>
|
|
<tr class="separator:af8c75a40184be023eec9d78417a8c7df"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a799f6f0f5bef6d61cccd769ecd2eb026" id="r_a799f6f0f5bef6d61cccd769ecd2eb026"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple_1_1test.html#a6e324fd8fc463ac8f4a1d1a185511db1">PeerSetBehavior</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1test_1_1TestPeerSet.html#a799f6f0f5bef6d61cccd769ecd2eb026">behavior</a></td></tr>
|
|
<tr class="separator:a799f6f0f5bef6d61cccd769ecd2eb026"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Simulate a peerSet that supplies peers to ledger replay subtasks. </p>
|
|
<p>It connects the ledger replay client side and server side message handlers. Depending on the configured PeerSetBehavior, it may drop or repeat some of the messages. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00335">335</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="a6a72d6274a497c5c6b7a2b5d59519d85" name="a6a72d6274a497c5c6b7a2b5d59519d85"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6a72d6274a497c5c6b7a2b5d59519d85">◆ </a></span>TestPeerSet()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::test::TestPeerSet::TestPeerSet </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1LedgerReplayMsgHandler.html">LedgerReplayMsgHandler</a> & </td>
|
|
<td class="paramname"><em>me</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1LedgerReplayMsgHandler.html">LedgerReplayMsgHandler</a> & </td>
|
|
<td class="paramname"><em>other</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>bhvr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>enableLedgerReplay</em> </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#l00337">337</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a24a2832c1d285a0c81fb5411792645b8" name="a24a2832c1d285a0c81fb5411792645b8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a24a2832c1d285a0c81fb5411792645b8">◆ </a></span>addPeers()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::test::TestPeerSet::addPeers </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> </td>
|
|
<td class="paramname"><em>limit</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>< bool(<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Peer.html">Peer</a> > const &)> </td>
|
|
<td class="paramname"><em>hasItem</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>< void(<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Peer.html">Peer</a> > const &)> </td>
|
|
<td class="paramname"><em>onPeerAdded</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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Try add more peers. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">limit</td><td>number of peers to add </td></tr>
|
|
<tr><td class="paramname">hasItem</td><td>callback that helps to select peers </td></tr>
|
|
<tr><td class="paramname">onPeerAdded</td><td>callback called when a peer is added </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1PeerSet.html#a3ec0f2c9ea5c123121145dfc61388c12">ripple::PeerSet</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00350">350</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7cd356ffd4275c4238124677dbe992d3" name="a7cd356ffd4275c4238124677dbe992d3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7cd356ffd4275c4238124677dbe992d3">◆ </a></span>sendRequest() <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 ripple::test::TestPeerSet::sendRequest </td>
|
|
<td>(</td>
|
|
<td class="paramtype">::google::protobuf::Message const & </td>
|
|
<td class="paramname"><em>msg</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">protocol::MessageType </td>
|
|
<td class="paramname"><em>type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Peer.html">Peer</a> > const & </td>
|
|
<td class="paramname"><em>peer</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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1PeerSet.html#a91ee198dcb5053d841a2d220ca662ba7">ripple::PeerSet</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00360">360</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae2219852ebf7c6a76cbe930b76780811" name="ae2219852ebf7c6a76cbe930b76780811"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae2219852ebf7c6a76cbe930b76780811">◆ </a></span>getPeerIds()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>< <a class="el" href="classripple_1_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">Peer::id_t</a> > const & ripple::test::TestPeerSet::getPeerIds </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>get the set of ids of previously added peers </p>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1PeerSet.html#a19e0c6ddb4adc29007d8702b8bd40916">ripple::PeerSet</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00406">406</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a751ba29d7fa5e1411ddd406e84f84d67" name="a751ba29d7fa5e1411ddd406e84f84d67"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a751ba29d7fa5e1411ddd406e84f84d67">◆ </a></span>sendRequest() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename MessageType > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::PeerSet::sendRequest </td>
|
|
<td>(</td>
|
|
<td class="paramtype">MessageType const & </td>
|
|
<td class="paramname"><em>message</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Peer.html">Peer</a> > const & </td>
|
|
<td class="paramname"><em>peer</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>send a message </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="PeerSet_8h_source.html#l00040">40</a> of file <a class="el" href="PeerSet_8h_source.html">PeerSet.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="af1310036749ef7c1dde3ade149e9c281" name="af1310036749ef7c1dde3ade149e9c281"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af1310036749ef7c1dde3ade149e9c281">◆ </a></span>local</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1LedgerReplayMsgHandler.html">LedgerReplayMsgHandler</a>& ripple::test::TestPeerSet::local</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00412">412</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5c3a351bb9f2eefa2a86787961cceacb" name="a5c3a351bb9f2eefa2a86787961cceacb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5c3a351bb9f2eefa2a86787961cceacb">◆ </a></span>remote</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1LedgerReplayMsgHandler.html">LedgerReplayMsgHandler</a>& ripple::test::TestPeerSet::remote</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00413">413</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af8c75a40184be023eec9d78417a8c7df" name="af8c75a40184be023eec9d78417a8c7df"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af8c75a40184be023eec9d78417a8c7df">◆ </a></span>dummyPeer</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a><<a class="el" href="classripple_1_1test_1_1TestPeer.html">TestPeer</a>> ripple::test::TestPeerSet::dummyPeer</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00414">414</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a799f6f0f5bef6d61cccd769ecd2eb026" name="a799f6f0f5bef6d61cccd769ecd2eb026"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a799f6f0f5bef6d61cccd769ecd2eb026">◆ </a></span>behavior</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple_1_1test.html#a6e324fd8fc463ac8f4a1d1a185511db1">PeerSetBehavior</a> ripple::test::TestPeerSet::behavior</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00415">415</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.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|