Files
rippled/structripple_1_1OverlayImpl_1_1Timer.html
2020-09-08 17:09:25 +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="761,7,907,48"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="1191,163,1361,204"/>
<area shape="rect" href="classripple_1_1OverlayImpl_1_1Child.html" title=" " alt="" coords="1801,210,1948,251"/>
<area shape="rect" href="classripple_1_1OverlayImpl.html" title=" " alt="" coords="1545,802,1692,829"/>
<area shape="rect" href="classripple_1_1Overlay.html" title="Manages the set of connected peers." alt="" coords="775,700,893,726"/>
<area shape="rect" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping." alt="" coords="398,682,530,709"/>
<area shape="rect" href="classripple_1_1RootStoppable.html" title=" " alt="" coords="753,750,915,777"/>
<area shape="rect" href="classripple_1_1ServerHandlerImp.html" title=" " alt="" coords="1183,1294,1369,1321"/>
<area shape="rect" href="classripple_1_1JobQueue.html" title="A pool of threads to perform work." alt="" coords="769,1037,899,1064"/>
<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="767,634,901,675"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="14,614,167,641"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="5,772,176,798"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="45,1252,137,1278"/>
<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="380,448,548,490"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="764,422,904,449"/>
<area shape="rect" href="classripple_1_1Resource_1_1Manager.html" title="Tracks load and resource consumption." alt="" coords="739,582,929,609"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="11,273,170,300"/>
<area shape="rect" href="classripple_1_1squelch_1_1SquelchHandler.html" title="Abstract class." alt="" coords="746,262,922,303"/>
<area shape="rect" href="classripple_1_1squelch_1_1Slots.html" title=" " alt="" coords="1185,472,1367,514"/>
<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="739,473,929,558"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="736,327,932,398"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="409,1529,519,1556"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="17,1529,164,1556"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="956,942,1135,969"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="413,914,515,941"/>
<area shape="rect" href="classripple_1_1Resolver.html" title=" " alt="" coords="1215,1037,1337,1064"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1173,1840,1379,1866"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="783,1840,885,1866"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1159,1890,1393,1946"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/set.html" title=" " alt="" coords="1185,1789,1367,1816"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="742,1513,926,1569"/>
<area shape="rect" href="classbeast_1_1insight_1_1Event.html" title="A metric for reporting event timing." alt="" coords="757,1593,911,1620"/>
<area shape="rect" href="structripple_1_1ServerHandlerImp_1_1Setup.html" title=" " alt="" coords="741,1228,927,1270"/>
<area shape="rect" href="classbeast_1_1insight_1_1Gauge.html" title="A metric for measuring an integral value." alt="" coords="384,1186,544,1213"/>
<area shape="rect" href="structripple_1_1OverlayImpl_1_1Stats.html" title=" " alt="" coords="761,971,907,1012"/>
<area shape="rect" href="classbeast_1_1insight_1_1Hook.html" title="A reference to a handler for performing polled collection." alt="" coords="388,1110,540,1137"/>
<area shape="rect" href="classbeast_1_1insight_1_1Counter.html" title="A metric for measuring an integral value." alt="" coords="749,1345,919,1372"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="749,1396,919,1438"/>
<area shape="rect" href="classripple_1_1NetworkOPs.html" title="Provides server functionality for clients." alt="" coords="761,1462,907,1489"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1185,1723,1367,1764"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="757,1757,911,1784"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="753,1935,915,1976"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1159,1971,1393,2042"/>
<area shape="rect" href="classripple_1_1TrafficCount.html" title=" " alt="" coords="1204,61,1348,88"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="739,76,929,132"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="353,966,575,1007"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="749,2014,919,2055"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1187,652,1365,694"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable_any.html" title=" " alt="" coords="1175,112,1377,138"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="385,7,543,48"/>
</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#l00080">80</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#l00082">82</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#l00062">62</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>