Files
rippled/structripple_1_1OverlayImpl_1_1Timer.html
2020-04-24 01:09:47 +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="773,20,919,61"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="1200,76,1371,117"/>
<area shape="rect" href="classripple_1_1OverlayImpl_1_1Child.html" title=" " alt="" coords="1811,422,1957,464"/>
<area shape="rect" href="classripple_1_1OverlayImpl.html" title=" " alt="" coords="1555,846,1701,872"/>
<area shape="rect" href="classripple_1_1Overlay.html" title="Manages the set of connected peers." alt="" coords="787,494,905,520"/>
<area shape="rect" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping." alt="" coords="413,414,545,440"/>
<area shape="rect" href="classripple_1_1RootStoppable.html" title=" " alt="" coords="765,267,927,294"/>
<area shape="rect" href="structripple_1_1Stoppable_1_1Child.html" title=" " alt="" coords="776,362,916,404"/>
<area shape="rect" href="classripple_1_1ServerHandlerImp.html" title=" " alt="" coords="1193,918,1378,944"/>
<area shape="rect" href="classripple_1_1JobQueue.html" title="A pool of threads to perform work." alt="" coords="781,1175,911,1202"/>
<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="779,428,913,469"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="21,286,175,312"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="13,220,183,247"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="52,892,144,919"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="55,483,141,510"/>
<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="395,616,563,657"/>
<area shape="rect" href="classbeast_1_1LockFreeStack.html" title=" " alt="" coords="19,401,177,442"/>
<area shape="rect" href="classripple_1_1Resource_1_1Manager.html" title="Tracks load and resource consumption." alt="" coords="751,658,941,684"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="776,708,916,735"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="19,696,177,723"/>
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="5,616,191,657"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="965,803,1144,830"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="427,943,530,970"/>
<area shape="rect" href="classripple_1_1Resolver.html" title=" " alt="" coords="1224,968,1347,995"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1182,1574,1389,1600"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="795,1624,897,1651"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1168,1675,1403,1731"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/set.html" title=" " alt="" coords="1195,1624,1376,1651"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="754,978,938,1034"/>
<area shape="rect" href="classbeast_1_1insight_1_1Event.html" title="A metric for reporting event timing." alt="" coords="769,1058,923,1084"/>
<area shape="rect" href="structripple_1_1ServerHandlerImp_1_1Setup.html" title=" " alt="" coords="753,1109,939,1150"/>
<area shape="rect" href="classbeast_1_1insight_1_1Gauge.html" title="A metric for measuring an integral value." alt="" coords="399,1128,559,1155"/>
<area shape="rect" href="structripple_1_1OverlayImpl_1_1Stats.html" title=" " alt="" coords="773,1277,919,1318"/>
<area shape="rect" href="classbeast_1_1insight_1_1Hook.html" title="A reference to a handler for performing polled collection." alt="" coords="403,1202,555,1228"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="423,1363,534,1390"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="25,1363,171,1390"/>
<area shape="rect" href="classbeast_1_1insight_1_1Counter.html" title="A metric for measuring an integral value." alt="" coords="761,1226,931,1252"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="761,810,931,852"/>
<area shape="rect" href="classripple_1_1NetworkOPs.html" title="Provides server functionality for clients." alt="" coords="773,876,919,903"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1194,1508,1377,1549"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="769,1534,923,1560"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html" title=" " alt="" coords="765,1720,927,1761"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1168,1756,1403,1826"/>
<area shape="rect" href="classripple_1_1TrafficCount.html" title=" " alt="" coords="1213,142,1357,168"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="751,124,941,180"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="368,1266,589,1308"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="761,1798,931,1840"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1197,453,1374,494"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable_any.html" title=" " alt="" coords="1185,192,1386,219"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="399,20,558,61"/>
</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#l00089">89</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#l00095">95</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#l00102">102</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#l00110">110</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>