Files
rippled/structripple_1_1OverlayImpl_1_1Timer.html
2021-01-11 17:20:32 +00:00

321 lines
20 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::OverlayImpl::Timer 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="classripple_1_1OverlayImpl.html">OverlayImpl</a></li><li class="navelem"><a class="el" href="structripple_1_1OverlayImpl_1_1Timer.html">Timer</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="#pro-attribs">Protected Attributes</a> &#124;
<a href="structripple_1_1OverlayImpl_1_1Timer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::OverlayImpl::Timer Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ripple::OverlayImpl::Timer:</div>
<div class="dyncontent">
<div class="center"><img src="structripple_1_1OverlayImpl_1_1Timer__inherit__graph.png" border="0" usemap="#ripple_1_1OverlayImpl_1_1Timer_inherit__map" alt="Inheritance graph"/></div>
<map name="ripple_1_1OverlayImpl_1_1Timer_inherit__map" id="ripple_1_1OverlayImpl_1_1Timer_inherit__map">
<area shape="rect" title=" " alt="" coords="93,95,240,136"/>
<area shape="rect" href="classripple_1_1OverlayImpl_1_1Child.html" title=" " alt="" coords="5,5,152,47"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="177,5,335,47"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::OverlayImpl::Timer:</div>
<div class="dyncontent">
<div class="center"><img src="structripple_1_1OverlayImpl_1_1Timer__coll__graph.png" border="0" usemap="#ripple_1_1OverlayImpl_1_1Timer_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1OverlayImpl_1_1Timer_coll__map" id="ripple_1_1OverlayImpl_1_1Timer_coll__map">
<area shape="rect" title=" " alt="" coords="699,50,845,91"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="1145,84,1316,126"/>
<area shape="rect" href="classripple_1_1OverlayImpl_1_1Child.html" title=" " alt="" coords="1779,544,1925,586"/>
<area shape="rect" href="classripple_1_1OverlayImpl.html" title=" " alt="" coords="1523,1088,1669,1114"/>
<area shape="rect" href="classripple_1_1Overlay.html" title="Manages the set of connected peers." alt="" coords="713,254,831,281"/>
<area shape="rect" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping." alt="" coords="319,806,451,833"/>
<area shape="rect" href="classripple_1_1ServerHandlerImp.html" title=" " alt="" coords="1138,1088,1323,1114"/>
<area shape="rect" href="classripple_1_1JobQueue.html" title="A pool of threads to perform work." alt="" coords="707,1256,837,1282"/>
<area shape="rect" href="classripple_1_1PeerFinder_1_1Manager.html" title="Maintains a set of IP addresses used for getting into the network." alt="" coords="705,306,839,347"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="5,806,176,833"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="45,1381,137,1408"/>
<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="301,430,469,471"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="702,437,842,464"/>
<area shape="rect" href="classripple_1_1Resource_1_1Manager.html" title="Tracks load and resource consumption." alt="" coords="677,756,867,782"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="11,1240,170,1266"/>
<area shape="rect" href="classripple_1_1reduce__relay_1_1SquelchHandler.html" title="Abstract class." alt="" coords="697,371,847,412"/>
<area shape="rect" href="classripple_1_1reduce__relay_1_1Slots.html" title=" " alt="" coords="1120,580,1341,622"/>
<area shape="rect" href="classbeast_1_1detail_1_1aged__unordered__container.html" title="Associative container where each element is also indexed by time." alt="" coords="677,584,867,669"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="330,889,441,916"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="657,488,887,559"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="911,982,1089,1009"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="334,1014,437,1041"/>
<area shape="rect" href="classripple_1_1Resolver.html" title=" " alt="" coords="1169,1138,1292,1165"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1127,1700,1334,1726"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="721,1668,823,1694"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1113,1620,1348,1676"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/set.html" title=" " alt="" coords="1140,1569,1321,1596"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="680,1306,864,1362"/>
<area shape="rect" href="classbeast_1_1insight_1_1Event.html" title="A metric for reporting event timing." alt="" coords="695,1386,849,1413"/>
<area shape="rect" href="structripple_1_1ServerHandlerImp_1_1Setup.html" title=" " alt="" coords="679,1022,865,1063"/>
<area shape="rect" href="classbeast_1_1insight_1_1Gauge.html" title="A metric for measuring an integral value." alt="" coords="305,1488,465,1514"/>
<area shape="rect" href="structripple_1_1OverlayImpl_1_1Stats.html" title=" " alt="" coords="699,1551,845,1592"/>
<area shape="rect" href="classbeast_1_1insight_1_1Hook.html" title="A reference to a handler for performing polled collection." alt="" coords="309,1538,461,1565"/>
<area shape="rect" href="classbeast_1_1insight_1_1Counter.html" title="A metric for measuring an integral value." alt="" coords="687,1088,857,1114"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="687,1139,857,1180"/>
<area shape="rect" href="classripple_1_1NetworkOPs.html" title="Provides server functionality for clients." alt="" coords="699,1205,845,1232"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1139,1503,1322,1544"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="695,1617,849,1644"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="691,1799,853,1840"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1113,1802,1348,1872"/>
<area shape="rect" href="classripple_1_1TrafficCount.html" title=" " alt="" coords="1159,1750,1303,1777"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="677,1718,867,1774"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="275,1590,496,1631"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1145,1896,1316,1938"/>
<area shape="rect" href="classripple_1_1Message.html" title=" " alt="" coords="710,1930,834,1957"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="687,1864,857,1906"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="1161,1962,1300,2003"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1142,315,1319,356"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable_any.html" title=" " alt="" coords="1130,150,1331,177"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="306,50,465,91"/>
</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:aef976d3d03984706325ead7ac907ee25"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1OverlayImpl_1_1Timer.html#aef976d3d03984706325ead7ac907ee25">Timer</a> (<a class="el" href="classripple_1_1OverlayImpl.html">OverlayImpl</a> &amp;overlay)</td></tr>
<tr class="separator:aef976d3d03984706325ead7ac907ee25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a971696ae846cc8d14ae3c4e32eec5a2c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1OverlayImpl_1_1Timer.html#a971696ae846cc8d14ae3c4e32eec5a2c">stop</a> () override</td></tr>
<tr class="separator:a971696ae846cc8d14ae3c4e32eec5a2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add338ac43b00dc11ef6c0482c382b014"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1OverlayImpl_1_1Timer.html#add338ac43b00dc11ef6c0482c382b014">run</a> ()</td></tr>
<tr class="separator:add338ac43b00dc11ef6c0482c382b014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a244d0579c922ffbb04c977f8b771e379"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1OverlayImpl_1_1Timer.html#a244d0579c922ffbb04c977f8b771e379">on_timer</a> (<a class="el" href="classripple_1_1OverlayImpl.html#a04425d981aa3a6fac81e1ce7d400103a">error_code</a> ec)</td></tr>
<tr class="separator:a244d0579c922ffbb04c977f8b771e379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this/shared_from_this.html">shared_from_this</a> (T... args)</td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this/weak_from_this.html">weak_from_this</a> (T... args)</td></tr>
<tr class="separator:"><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:af3c3211524ec474902313958a2629006"><td class="memItemLeft" align="right" valign="top">boost::asio::basic_waitable_timer&lt; <a class="el" href="classripple_1_1OverlayImpl.html#a9453a0ecfe39bfc18ef1f506dc59b715">clock_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1OverlayImpl_1_1Timer.html#af3c3211524ec474902313958a2629006">timer_</a></td></tr>
<tr class="separator:af3c3211524ec474902313958a2629006"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ac48a68b0e553ec566f03e3f7d538beec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1OverlayImpl.html">OverlayImpl</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1OverlayImpl_1_1Child.html#ac48a68b0e553ec566f03e3f7d538beec">overlay_</a></td></tr>
<tr class="separator:ac48a68b0e553ec566f03e3f7d538beec"><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="OverlayImpl_8h_source.html#l00081">81</a> of file <a class="el" href="OverlayImpl_8h_source.html">OverlayImpl.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aef976d3d03984706325ead7ac907ee25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef976d3d03984706325ead7ac907ee25">&#9670;&nbsp;</a></span>Timer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ripple::OverlayImpl::Timer::Timer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1OverlayImpl.html">OverlayImpl</a> &amp;&#160;</td>
<td class="paramname"><em>overlay</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="OverlayImpl_8cpp_source.html#l00067">67</a> of file <a class="el" href="OverlayImpl_8cpp_source.html">OverlayImpl.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a971696ae846cc8d14ae3c4e32eec5a2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a971696ae846cc8d14ae3c4e32eec5a2c">&#9670;&nbsp;</a></span>stop()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::OverlayImpl::Timer::stop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1OverlayImpl_1_1Child.html#ac4493bf690681e0f2aa3b597235f0361">ripple::OverlayImpl::Child</a>.</p>
<p class="definition">Definition at line <a class="el" href="OverlayImpl_8cpp_source.html#l00073">73</a> of file <a class="el" href="OverlayImpl_8cpp_source.html">OverlayImpl.cpp</a>.</p>
</div>
</div>
<a id="add338ac43b00dc11ef6c0482c382b014"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add338ac43b00dc11ef6c0482c382b014">&#9670;&nbsp;</a></span>run()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::OverlayImpl::Timer::run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="OverlayImpl_8cpp_source.html#l00080">80</a> of file <a class="el" href="OverlayImpl_8cpp_source.html">OverlayImpl.cpp</a>.</p>
</div>
</div>
<a id="a244d0579c922ffbb04c977f8b771e379"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a244d0579c922ffbb04c977f8b771e379">&#9670;&nbsp;</a></span>on_timer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::OverlayImpl::Timer::on_timer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1OverlayImpl.html#a04425d981aa3a6fac81e1ce7d400103a">error_code</a>&#160;</td>
<td class="paramname"><em>ec</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="OverlayImpl_8cpp_source.html#l00088">88</a> of file <a class="el" href="OverlayImpl_8cpp_source.html">OverlayImpl.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="af3c3211524ec474902313958a2629006"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3c3211524ec474902313958a2629006">&#9670;&nbsp;</a></span>timer_</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">boost::asio::basic_waitable_timer&lt;<a class="el" href="classripple_1_1OverlayImpl.html#a9453a0ecfe39bfc18ef1f506dc59b715">clock_type</a>&gt; ripple::OverlayImpl::Timer::timer_</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="OverlayImpl_8h_source.html#l00083">83</a> of file <a class="el" href="OverlayImpl_8h_source.html">OverlayImpl.h</a>.</p>
</div>
</div>
<a id="ac48a68b0e553ec566f03e3f7d538beec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac48a68b0e553ec566f03e3f7d538beec">&#9670;&nbsp;</a></span>overlay_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1OverlayImpl.html">OverlayImpl</a>&amp; ripple::OverlayImpl::Child::overlay_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="OverlayImpl_8h_source.html#l00063">63</a> of file <a class="el" href="OverlayImpl_8h_source.html">OverlayImpl.h</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>