<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>DTN Reference Implementation: prophet::BundleCoreTestImpl Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceprophet.html">prophet</a>::<a class="el" href="classprophet_1_1BundleCoreTestImpl.html">BundleCoreTestImpl</a> </div> </div> <div class="contents"> <h1>prophet::BundleCoreTestImpl Class Reference</h1><!-- doxytag: class="prophet::BundleCoreTestImpl" --><!-- doxytag: inherits="prophet::BundleCore" --><code>#include <<a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for prophet::BundleCoreTestImpl:</div> <div class="dynsection"> <p><center><img src="classprophet_1_1BundleCoreTestImpl.png" usemap="#prophet::BundleCoreTestImpl_map" border="0" alt=""></center> <map name="prophet::BundleCoreTestImpl_map"> <area href="classprophet_1_1BundleCore.html" alt="prophet::BundleCore" shape="rect" coords="0,0,173,24"> </map> </div> <p> <a href="classprophet_1_1BundleCoreTestImpl-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Mock object for use in unit testing; this doesn't really do anything other than capture state for inspection by unit tests. <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00222">222</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#ca8c10cc7c45ae5108791a5d17ee9bb7">BundleBuffer</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::pair< const <br> <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *, <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#ca8c10cc7c45ae5108791a5d17ee9bb7">BundleBuffer</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#475ebb3435f00af20ca8008d6dcbd2cf">bundle</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#f592c9634f4b85b6f878e6e165993612">BundleCoreTestImpl</a> (const std::string &str="dtn://somehost")</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#aaf02e47d3fd73ebad82360caa076fc8">~BundleCoreTestImpl</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#324c642806bb69a72717e3ac1ab13b56">set_max</a> (u_int64_t max)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#77e9befd69bb0e55f65022d8664a9b8b">set_eid</a> (const std::string &id)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#36fb50a55469d088c223e0c9cd1959db">is_route</a> (const std::string &dest, const std::string &route) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#36fb50a55469d088c223e0c9cd1959db"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#c1f88ebc5929179d04fe08cd5f2f02b2">should_fwd</a> (const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *, const <a class="el" href="classprophet_1_1Link.html">Link</a> *) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#c1f88ebc5929179d04fe08cd5f2f02b2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#813d77f4af7f59d4eec153ecd5896002">get_route</a> (const std::string &str) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#813d77f4af7f59d4eec153ecd5896002"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#b2653ab7d4a230a59dd32d142c1cd048">get_route_pattern</a> (const std::string &str) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#b2653ab7d4a230a59dd32d142c1cd048"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">u_int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#849e4ff47c3e591d807a3c9a233d075f">max_bundle_quota</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#849e4ff47c3e591d807a3c9a233d075f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#8da6b9cd62aa539e3a3b08b11e19c721">custody_accepted</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#8da6b9cd62aa539e3a3b08b11e19c721"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#67a5fe8f2b6c7df6420c50a11e329764">drop_bundle</a> (const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *b)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#67a5fe8f2b6c7df6420c50a11e329764"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#db480cf167caa39713c260c0e338fef4">send_bundle</a> (const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *b, const <a class="el" href="classprophet_1_1Link.html">Link</a> *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#db480cf167caa39713c260c0e338fef4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#ff98dc2c96bdd8d51554fdb108be3711">write_bundle</a> (const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *b, const u_char *<a class="el" href="num2sdnv_8c.html#a81cdcc7ff6987bc85c073253e32715f">buf</a>, size_t len)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#ff98dc2c96bdd8d51554fdb108be3711"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#28081fde0b0be4348edc2f13db7c5280">read_bundle</a> (const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *b, u_char *<a class="el" href="num2sdnv_8c.html#a81cdcc7ff6987bc85c073253e32715f">buf</a>, size_t &len) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#28081fde0b0be4348edc2f13db7c5280"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#2757539f7652d15192cfb02e41683795">create_bundle</a> (const std::string &<a class="el" href="dtnmoteproxy_8c.html#e1ade0f5a1b32f6c8be72f31a99e2a18">src</a>, const std::string &dst, u_int exp=3600)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#2757539f7652d15192cfb02e41683795"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#1fa48f495ad79af86831bd4645011865">find</a> (const <a class="el" href="classprophet_1_1BundleList.html">BundleList</a> &, const std::string &, u_int32_t, u_int32_t) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#1fa48f495ad79af86831bd4645011865"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1BundleList.html">BundleList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#708f677b31c0016f84c0dbd68f4ea4dd">bundles</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#708f677b31c0016f84c0dbd68f4ea4dd"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#344d8427ecc8717507c1bd18373f9b06">update_node</a> (const <a class="el" href="classprophet_1_1Node.html">Node</a> *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#344d8427ecc8717507c1bd18373f9b06"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#d62f1bfcb1636e09cc00fcc4afbba00f">delete_node</a> (const <a class="el" href="classprophet_1_1Node.html">Node</a> *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#d62f1bfcb1636e09cc00fcc4afbba00f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#83883585ab8f644eab630539dcf1fbc0">local_eid</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#83883585ab8f644eab630539dcf1fbc0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#221800394f0b3eeede0a06a305c15855">prophet_id</a> (const <a class="el" href="classprophet_1_1Link.html">Link</a> *link) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#221800394f0b3eeede0a06a305c15855"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#220967e9f1b214eaf354a864f517ad55">prophet_id</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#220967e9f1b214eaf354a864f517ad55"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1Alarm.html">Alarm</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#b0b938ccb50f384873ae18336ab42a6a">create_alarm</a> (<a class="el" href="classprophet_1_1ExpirationHandler.html">ExpirationHandler</a> *handler, u_int timeout, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#b0b938ccb50f384873ae18336ab42a6a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#f3a09501640bcdce8b64d16220abe5dc">print_log</a> (const char *name, int level, const char *fmt,...)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <a href="#f3a09501640bcdce8b64d16220abe5dc"></a><br></td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#f67c32e440e2b0696f3c1f15edd91c46">str_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#e7ccb07f0ce6459412005a8da60fe52d">local_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#f342891084811a7c2e904728fd596612">remote_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">u_int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#c72d48e547e5ab83f0f6473b9f85a186">max_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::list< const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#17cf8144714df604bc86760d74e88aa6">sent_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::list< <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#475ebb3435f00af20ca8008d6dcbd2cf">bundle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#0a3e085968fab6d707af540f2f47ecfa">written_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::list< <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#475ebb3435f00af20ca8008d6dcbd2cf">bundle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#4d5f0e043d8b854dbc03f51f17523dfa">rcvd_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::list< <a class="el" href="classprophet_1_1Alarm.html">Alarm</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#19f9aaf4aafd7b67a30e29e9a828b063">alarms_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1BundleList.html">prophet::BundleList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html#093813dcaed78fed15623980fc904fc1">list_</a></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="ca8c10cc7c45ae5108791a5d17ee9bb7"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::BundleBuffer" ref="ca8c10cc7c45ae5108791a5d17ee9bb7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::string <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#ca8c10cc7c45ae5108791a5d17ee9bb7">prophet::BundleCoreTestImpl::BundleBuffer</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00225">225</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="475ebb3435f00af20ca8008d6dcbd2cf"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::bundle" ref="475ebb3435f00af20ca8008d6dcbd2cf" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::pair<const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a>*,<a class="el" href="classprophet_1_1BundleCoreTestImpl.html#ca8c10cc7c45ae5108791a5d17ee9bb7">BundleBuffer</a>> <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#475ebb3435f00af20ca8008d6dcbd2cf">prophet::BundleCoreTestImpl::bundle</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00339">339</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f592c9634f4b85b6f878e6e165993612"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::BundleCoreTestImpl" ref="f592c9634f4b85b6f878e6e165993612" args="(const std::string &str="dtn://somehost")" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">prophet::BundleCoreTestImpl::BundleCoreTestImpl </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>str</em> = <code>"dtn://somehost"</code> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00226">226</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="aaf02e47d3fd73ebad82360caa076fc8"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::~BundleCoreTestImpl" ref="aaf02e47d3fd73ebad82360caa076fc8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual prophet::BundleCoreTestImpl::~BundleCoreTestImpl </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00228">228</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="36fb50a55469d088c223e0c9cd1959db"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::is_route" ref="36fb50a55469d088c223e0c9cd1959db" args="(const std::string &dest, const std::string &route) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleCoreTestImpl::is_route </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>dest</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>route</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#5e824264e8b32a0628c0f913f98641c5">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00237">237</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="c1f88ebc5929179d04fe08cd5f2f02b2"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::should_fwd" ref="c1f88ebc5929179d04fe08cd5f2f02b2" args="(const Bundle *, const Link *) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleCoreTestImpl::should_fwd </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classprophet_1_1Link.html">Link</a> * </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#650956d33fee47c1248dc12d52eedaaf">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00242">242</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="813d77f4af7f59d4eec153ecd5896002"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::get_route" ref="813d77f4af7f59d4eec153ecd5896002" args="(const std::string &str) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string prophet::BundleCoreTestImpl::get_route </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>str</em> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#5ee789c3c5a49bbcb0624658e7f524c6">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00243">243</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="b2653ab7d4a230a59dd32d142c1cd048"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::get_route_pattern" ref="b2653ab7d4a230a59dd32d142c1cd048" args="(const std::string &str) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string prophet::BundleCoreTestImpl::get_route_pattern </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>str</em> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#815e1260c74a81dae5097a6a6b7a8490">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00244">244</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="849e4ff47c3e591d807a3c9a233d075f"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::max_bundle_quota" ref="849e4ff47c3e591d807a3c9a233d075f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int64_t prophet::BundleCoreTestImpl::max_bundle_quota </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#fada528d72ff3e773f0b65fef41d6e95">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00245">245</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="8da6b9cd62aa539e3a3b08b11e19c721"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::custody_accepted" ref="8da6b9cd62aa539e3a3b08b11e19c721" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleCoreTestImpl::custody_accepted </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#ffd383db5ed0821c36856bc38b74a398">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00246">246</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="67a5fe8f2b6c7df6420c50a11e329764"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::drop_bundle" ref="67a5fe8f2b6c7df6420c50a11e329764" args="(const Bundle *b)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void prophet::BundleCoreTestImpl::drop_bundle </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>b</em> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#f8fd7decf0b2a558bae75feb006dcc55">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00247">247</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> <p>References <a class="el" href="classprophet_1_1Bundle.html#df5ff9aa8aba7ddd7a741d6143fe3d88">prophet::Bundle::creation_ts()</a>, <a class="el" href="classprophet_1_1Bundle.html#81f0a95589809a157829bacb4d3c5989">prophet::Bundle::destination_id()</a>, and <a class="el" href="classprophet_1_1Bundle.html#8f4fad2c83696237207ba7a19acb9ca4">prophet::Bundle::sequence_num()</a>.</p> </div> </div><p> <a class="anchor" name="db480cf167caa39713c260c0e338fef4"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::send_bundle" ref="db480cf167caa39713c260c0e338fef4" args="(const Bundle *b, const Link *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleCoreTestImpl::send_bundle </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>b</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classprophet_1_1Link.html">Link</a> * </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#b70b98a3464dbe553705ac2d19d27e7c">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00261">261</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="ff98dc2c96bdd8d51554fdb108be3711"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::write_bundle" ref="ff98dc2c96bdd8d51554fdb108be3711" args="(const Bundle *b, const u_char *buf, size_t len)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleCoreTestImpl::write_bundle </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>b</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const u_char * </td> <td class="paramname"> <em>buf</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>len</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#d49a3399ed8255db84ef114da4a9ce37">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00266">266</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="28081fde0b0be4348edc2f13db7c5280"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::read_bundle" ref="28081fde0b0be4348edc2f13db7c5280" args="(const Bundle *b, u_char *buf, size_t &len) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleCoreTestImpl::read_bundle </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>b</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_char * </td> <td class="paramname"> <em>buf</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t & </td> <td class="paramname"> <em>len</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#fe02f454860601b5d9f1823d8608f5ed">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00272">272</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> <p>References <a class="el" href="classprophet_1_1Bundle.html#df5ff9aa8aba7ddd7a741d6143fe3d88">prophet::Bundle::creation_ts()</a>, <a class="el" href="classprophet_1_1Bundle.html#81f0a95589809a157829bacb4d3c5989">prophet::Bundle::destination_id()</a>, and <a class="el" href="classprophet_1_1Bundle.html#8f4fad2c83696237207ba7a19acb9ca4">prophet::Bundle::sequence_num()</a>.</p> </div> </div><p> <a class="anchor" name="2757539f7652d15192cfb02e41683795"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::create_bundle" ref="2757539f7652d15192cfb02e41683795" args="(const std::string &src, const std::string &dst, u_int exp=3600)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classprophet_1_1Bundle.html">Bundle</a>* prophet::BundleCoreTestImpl::create_bundle </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>src</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>dst</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int </td> <td class="paramname"> <em>exp</em> = <code>3600</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#642382193c7db88ad80e13a7c6aec9de">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00290">290</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="1fa48f495ad79af86831bd4645011865"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::find" ref="1fa48f495ad79af86831bd4645011865" args="(const BundleList &, const std::string &, u_int32_t, u_int32_t) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a>* prophet::BundleCoreTestImpl::find </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1BundleList.html">BundleList</a> & </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int32_t </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int32_t </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#832e66fc3b84631e20e086e766ecd0a7">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00292">292</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="708f677b31c0016f84c0dbd68f4ea4dd"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::bundles" ref="708f677b31c0016f84c0dbd68f4ea4dd" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classprophet_1_1BundleList.html">BundleList</a>& prophet::BundleCoreTestImpl::bundles </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#a156b55d2608ca3afabd0d8b2d6a6eed">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00295">295</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="344d8427ecc8717507c1bd18373f9b06"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::update_node" ref="344d8427ecc8717507c1bd18373f9b06" args="(const Node *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void prophet::BundleCoreTestImpl::update_node </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Node.html">Node</a> * </td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#9a18d0c8e3f692d4dd7cc81022177933">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00296">296</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="d62f1bfcb1636e09cc00fcc4afbba00f"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::delete_node" ref="d62f1bfcb1636e09cc00fcc4afbba00f" args="(const Node *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void prophet::BundleCoreTestImpl::delete_node </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Node.html">Node</a> * </td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#e799b610b984ebd900dcf1c0bb9e9afc">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00297">297</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="83883585ab8f644eab630539dcf1fbc0"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::local_eid" ref="83883585ab8f644eab630539dcf1fbc0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string prophet::BundleCoreTestImpl::local_eid </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#6c838e6ee0d2b4fd4c069259786de5a5">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00298">298</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="221800394f0b3eeede0a06a305c15855"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::prophet_id" ref="221800394f0b3eeede0a06a305c15855" args="(const Link *link) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string prophet::BundleCoreTestImpl::prophet_id </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Link.html">Link</a> * </td> <td class="paramname"> <em>link</em> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#d204c1ad96fff0acc5f93dcbac199853">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00306">306</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> <p>References <a class="el" href="classprophet_1_1Link.html#0631513a99a2b44d821161512fdabfe2">prophet::Link::nexthop()</a>, and <a class="el" href="BundleCore_8h-source.html#l00299">PROPHESY</a>.</p> </div> </div><p> <a class="anchor" name="220967e9f1b214eaf354a864f517ad55"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::prophet_id" ref="220967e9f1b214eaf354a864f517ad55" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string prophet::BundleCoreTestImpl::prophet_id </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#be11e2096b64c414ae1cc8bbe4e2edab">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00312">312</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> <p>References <a class="el" href="BundleCore_8h-source.html#l00299">PROPHESY</a>.</p> </div> </div><p> <a class="anchor" name="b0b938ccb50f384873ae18336ab42a6a"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::create_alarm" ref="b0b938ccb50f384873ae18336ab42a6a" args="(ExpirationHandler *handler, u_int timeout, bool)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classprophet_1_1Alarm.html">Alarm</a>* prophet::BundleCoreTestImpl::create_alarm </td> <td>(</td> <td class="paramtype"><a class="el" href="classprophet_1_1ExpirationHandler.html">ExpirationHandler</a> * </td> <td class="paramname"> <em>handler</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int </td> <td class="paramname"> <em>timeout</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#e3c7647861e87e6d3563231f3548c093">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00322">322</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> <p>References <a class="el" href="BundleCore_8h-source.html#l00210">prophet::AlarmImpl::schedule()</a>.</p> </div> </div><p> <a class="anchor" name="f3a09501640bcdce8b64d16220abe5dc"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::print_log" ref="f3a09501640bcdce8b64d16220abe5dc" args="(const char *name, int level, const char *fmt,...)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void prophet::BundleCoreTestImpl::print_log </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>level</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>fmt</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"> <em>...</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> virtual from <a class="el" href="classprophet_1_1BundleCore.html" title="Prophet facade's abstract interface into DTN host's bundle core.">BundleCore</a> <p> <p>Implements <a class="el" href="classprophet_1_1BundleCore.html#b5b505b3d20c6302ae818426cf27f35d">prophet::BundleCore</a>.</p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00347">347</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="324c642806bb69a72717e3ac1ab13b56"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::set_max" ref="324c642806bb69a72717e3ac1ab13b56" args="(u_int64_t max)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void prophet::BundleCoreTestImpl::set_max </td> <td>(</td> <td class="paramtype">u_int64_t </td> <td class="paramname"> <em>max</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00333">333</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="77e9befd69bb0e55f65022d8664a9b8b"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::set_eid" ref="77e9befd69bb0e55f65022d8664a9b8b" args="(const std::string &id)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void prophet::BundleCoreTestImpl::set_eid </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>id</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00334">334</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="f67c32e440e2b0696f3c1f15edd91c46"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::str_" ref="f67c32e440e2b0696f3c1f15edd91c46" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#f67c32e440e2b0696f3c1f15edd91c46">prophet::BundleCoreTestImpl::str_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00335">335</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="e7ccb07f0ce6459412005a8da60fe52d"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::local_" ref="e7ccb07f0ce6459412005a8da60fe52d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#e7ccb07f0ce6459412005a8da60fe52d">prophet::BundleCoreTestImpl::local_</a><code> [mutable]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00336">336</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="f342891084811a7c2e904728fd596612"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::remote_" ref="f342891084811a7c2e904728fd596612" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#f342891084811a7c2e904728fd596612">prophet::BundleCoreTestImpl::remote_</a><code> [mutable]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00336">336</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="c72d48e547e5ab83f0f6473b9f85a186"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::max_" ref="c72d48e547e5ab83f0f6473b9f85a186" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int64_t <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#c72d48e547e5ab83f0f6473b9f85a186">prophet::BundleCoreTestImpl::max_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00337">337</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="17cf8144714df604bc86760d74e88aa6"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::sent_" ref="17cf8144714df604bc86760d74e88aa6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::list<const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a>*> <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#17cf8144714df604bc86760d74e88aa6">prophet::BundleCoreTestImpl::sent_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00338">338</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="0a3e085968fab6d707af540f2f47ecfa"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::written_" ref="0a3e085968fab6d707af540f2f47ecfa" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::list<<a class="el" href="classprophet_1_1BundleCoreTestImpl.html#475ebb3435f00af20ca8008d6dcbd2cf">bundle</a>> <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#0a3e085968fab6d707af540f2f47ecfa">prophet::BundleCoreTestImpl::written_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00340">340</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="4d5f0e043d8b854dbc03f51f17523dfa"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::rcvd_" ref="4d5f0e043d8b854dbc03f51f17523dfa" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::list<<a class="el" href="classprophet_1_1BundleCoreTestImpl.html#475ebb3435f00af20ca8008d6dcbd2cf">bundle</a>> <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#4d5f0e043d8b854dbc03f51f17523dfa">prophet::BundleCoreTestImpl::rcvd_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00341">341</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="19f9aaf4aafd7b67a30e29e9a828b063"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::alarms_" ref="19f9aaf4aafd7b67a30e29e9a828b063" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::list<<a class="el" href="classprophet_1_1Alarm.html">Alarm</a>*> <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#19f9aaf4aafd7b67a30e29e9a828b063">prophet::BundleCoreTestImpl::alarms_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00342">342</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <a class="anchor" name="093813dcaed78fed15623980fc904fc1"></a><!-- doxytag: member="prophet::BundleCoreTestImpl::list_" ref="093813dcaed78fed15623980fc904fc1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classprophet_1_1BundleList.html">prophet::BundleList</a> <a class="el" href="classprophet_1_1BundleCoreTestImpl.html#093813dcaed78fed15623980fc904fc1">prophet::BundleCoreTestImpl::list_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00343">343</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="BundleCore_8h-source.html">BundleCore.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:55 2008 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>