Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 29c369053a983cc5d8c880dc6e0a2237 > files > 877

libdtn-devel-2.6.0-2mdv2009.1.i586.rpm

<!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: dtn::BundleCommand Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacedtn.html">dtn</a>::<a class="el" href="classdtn_1_1BundleCommand.html">BundleCommand</a>
  </div>
</div>
<div class="contents">
<h1>dtn::BundleCommand Class Reference</h1><!-- doxytag: class="dtn::BundleCommand" -->Debug command for hand manipulation of bundles.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="BundleCommand_8h-source.html">BundleCommand.h</a>&gt;</code>
<p>

<p>
<a href="classdtn_1_1BundleCommand-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1BundleCommand_1_1InjectOpts.html">InjectOpts</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">"bundle inject" command parameters/options  <a href="classdtn_1_1BundleCommand_1_1InjectOpts.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1BundleCommand.html#d6640f655c8f04999307a9f2a1baec15">BundleCommand</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1BundleCommand.html#32ac39e7f71d7ba7657ac5cd6bc5ac0f">exec</a> (int objc, Tcl_Obj **objv, Tcl_Interp *interp)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual from CommandModule.  <a href="#32ac39e7f71d7ba7657ac5cd6bc5ac0f"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1BundleCommand.html#fec43bb9744433921b10572d115789de">parse_inject_options</a> (<a class="el" href="classdtn_1_1BundleCommand_1_1InjectOpts.html">InjectOpts</a> *options, int objc, Tcl_Obj **objv, const char **invalidp)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse the "bundle inject" command line options.  <a href="#fec43bb9744433921b10572d115789de"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Debug command for hand manipulation of bundles. 
<p>Definition at line <a class="el" href="BundleCommand_8h-source.html#l00027">27</a> of file <a class="el" href="BundleCommand_8h-source.html">BundleCommand.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="d6640f655c8f04999307a9f2a1baec15"></a><!-- doxytag: member="dtn::BundleCommand::BundleCommand" ref="d6640f655c8f04999307a9f2a1baec15" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dtn::BundleCommand::BundleCommand           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="BundleCommand_8cc-source.html#l00037">37</a> of file <a class="el" href="BundleCommand_8cc-source.html">BundleCommand.cc</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="32ac39e7f71d7ba7657ac5cd6bc5ac0f"></a><!-- doxytag: member="dtn::BundleCommand::exec" ref="32ac39e7f71d7ba7657ac5cd6bc5ac0f" args="(int objc, Tcl_Obj **objv, Tcl_Interp *interp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dtn::BundleCommand::exec           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>objc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Tcl_Obj **&nbsp;</td>
          <td class="paramname"> <em>objv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Tcl_Interp *&nbsp;</td>
          <td class="paramname"> <em>interp</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Virtual from CommandModule. 
<p>

<p>Definition at line <a class="el" href="BundleCommand_8cc-source.html#l00112">112</a> of file <a class="el" href="BundleCommand_8cc-source.html">BundleCommand.cc</a>.</p>

<p>References <a class="el" href="bundling_2Bundle_8h-source.html#l00220">dtn::Bundle::app_acked_rcpt()</a>, <a class="el" href="EndpointID_8h-source.html#l00084">dtn::EndpointID::assign()</a>, <a class="el" href="BundleList_8cc-source.html#l00475">dtn::BundleList::begin()</a>, <a class="el" href="num2sdnv_8c-source.html#l00035">buf</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00201">dtn::Bundle::bundleid()</a>, <a class="el" href="EndpointID_8h-source.html#l00264">dtn::EndpointID::c_str()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00234">dtn::Bundle::creation_ts()</a>, <a class="el" href="BundleCommand_8h-source.html#l00047">dtn::BundleCommand::BundleCommand::InjectOpts::custody_rcpt_</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00212">dtn::Bundle::custody_requested()</a>, <a class="el" href="BundleCommand_8h-source.html#l00045">dtn::BundleCommand::BundleCommand::InjectOpts::custody_xfer_</a>, <a class="el" href="BundleCommand_8h-source.html#l00050">dtn::BundleCommand::BundleCommand::InjectOpts::deletion_rcpt_</a>, <a class="el" href="BundleCommand_8h-source.html#l00049">dtn::BundleCommand::BundleCommand::InjectOpts::delivery_rcpt_</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00205">dtn::Bundle::dest()</a>, <a class="el" href="BundleList_8cc-source.html#l00488">dtn::BundleList::end()</a>, <a class="el" href="BundleEvent_8h-source.html#l00215">dtn::EVENTSRC_APP</a>, <a class="el" href="BundleCommand_8h-source.html#l00051">dtn::BundleCommand::BundleCommand::InjectOpts::expiration_</a>, <a class="el" href="BundleList_8cc-source.html#l00350">dtn::BundleList::find()</a>, <a class="el" href="BundleCommand_8h-source.html#l00048">dtn::BundleCommand::BundleCommand::InjectOpts::forward_rcpt_</a>, <a class="el" href="RegistrationTable_8cc-source.html#l00063">dtn::RegistrationTable::get()</a>, <a class="el" href="dtncat_8c-source.html#l00085">info</a>, <a class="el" href="dtnping_8c-source.html#l00044">interval</a>, <a class="el" href="EndpointID_8cc-source.html#l00154">dtn::EndpointID::is_singleton()</a>, <a class="el" href="EndpointID_8h-source.html#l00217">dtn::EndpointID::is_singleton_default_</a>, <a class="el" href="EndpointID_8h-source.html#l00233">dtn::EndpointID::known_scheme()</a>, <a class="el" href="num2sdnv_8c-source.html#l00034">len</a>, <a class="el" href="BundlePayload_8h-source.html#l00077">dtn::BundlePayload::length()</a>, <a class="el" href="BundleCommand_8h-source.html#l00052">dtn::BundleCommand::BundleCommand::InjectOpts::length_</a>, <a class="el" href="bundling_2BundleList_8h-source.html#l00285">dtn::BundleList::lock()</a>, <a class="el" href="EndpointID_8h-source.html#l00206">dtn::EndpointID::MULTINODE</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00245">dtn::Bundle::mutable_custodian()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00243">dtn::Bundle::mutable_dest()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00272">dtn::Bundle::mutable_payload()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00244">dtn::Bundle::mutable_replyto()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00242">dtn::Bundle::mutable_source()</a>, <a class="el" href="CompletionNotifier_8h-source.html#l00034">dtn::CompletionNotifier::notifier()</a>, <a class="el" href="EndpointID_8h-source.html#l00358">dtn::EndpointID::NULL_EID()</a>, <a class="el" href="TclRegistration_8cc-source.html#l00164">dtn::TclRegistration::parse_bundle_data()</a>, <a class="el" href="BundleCommand_8cc-source.html#l00079">parse_inject_options()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00232">dtn::Bundle::payload()</a>, <a class="el" href="BundleDaemon_8cc-source.html#l00134">dtn::BundleDaemon::post()</a>, <a class="el" href="BundleDaemon_8cc-source.html#l00148">dtn::BundleDaemon::post_and_wait()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00171">dtn::Bundle::receipt_requested()</a>, <a class="el" href="BundleCommand_8h-source.html#l00046">dtn::BundleCommand::BundleCommand::InjectOpts::receive_rcpt_</a>, <a class="el" href="BundleCommand_8h-source.html#l00053">dtn::BundleCommand::BundleCommand::InjectOpts::replyto_</a>, <a class="el" href="BundleTimestamp_8h-source.html#l00031">dtn::BundleTimestamp::seconds_</a>, <a class="el" href="BundleTimestamp_8h-source.html#l00032">dtn::BundleTimestamp::seqno_</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00254">dtn::Bundle::set_custody_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00250">dtn::Bundle::set_custody_requested()</a>, <a class="el" href="BundlePayload_8cc-source.html#l00349">dtn::BundlePayload::set_data()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00257">dtn::Bundle::set_deletion_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00256">dtn::Bundle::set_delivery_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00249">dtn::Bundle::set_do_not_fragment()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00259">dtn::Bundle::set_expiration()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00255">dtn::Bundle::set_forward_rcpt()</a>, <a class="el" href="BundlePayload_8cc-source.html#l00161">dtn::BundlePayload::set_length()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00253">dtn::Bundle::set_receive_rcpt()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00251">dtn::Bundle::set_singleton_dest()</a>, <a class="el" href="EndpointID_8h-source.html#l00206">dtn::EndpointID::SINGLETON</a>, <a class="el" href="BundleList_8cc-source.html#l00459">dtn::BundleList::size()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00204">dtn::Bundle::source()</a>, <a class="el" href="EndpointID_8h-source.html#l00258">dtn::EndpointID::str()</a>, <a class="el" href="EndpointID_8h-source.html#l00206">dtn::EndpointID::UNKNOWN</a>, <a class="el" href="EndpointID_8h-source.html#l00257">dtn::EndpointID::uri()</a>, <a class="el" href="Bundle_8cc-source.html#l00366">dtn::Bundle::validate()</a>, and <a class="el" href="BundlePayload_8cc-source.html#l00378">dtn::BundlePayload::write_data()</a>.</p>

<p>Referenced by <a class="el" href="NodeCommand_8cc-source.html#l00049">dtnsim::NodeCommand::exec()</a>.</p>

</div>
</div><p>
<a class="anchor" name="fec43bb9744433921b10572d115789de"></a><!-- doxytag: member="dtn::BundleCommand::parse_inject_options" ref="fec43bb9744433921b10572d115789de" args="(InjectOpts *options, int objc, Tcl_Obj **objv, const char **invalidp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> dtn::BundleCommand::parse_inject_options           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdtn_1_1BundleCommand_1_1InjectOpts.html">InjectOpts</a> *&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>objc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Tcl_Obj **&nbsp;</td>
          <td class="paramname"> <em>objv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char **&nbsp;</td>
          <td class="paramname"> <em>invalidp</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parse the "bundle inject" command line options. 
<p>

<p>Definition at line <a class="el" href="BundleCommand_8cc-source.html#l00079">79</a> of file <a class="el" href="BundleCommand_8cc-source.html">BundleCommand.cc</a>.</p>

<p>References <a class="el" href="BundleCommand_8h-source.html#l00047">dtn::BundleCommand::BundleCommand::InjectOpts::custody_rcpt_</a>, <a class="el" href="BundleCommand_8h-source.html#l00045">dtn::BundleCommand::BundleCommand::InjectOpts::custody_xfer_</a>, <a class="el" href="BundleCommand_8h-source.html#l00050">dtn::BundleCommand::BundleCommand::InjectOpts::deletion_rcpt_</a>, <a class="el" href="BundleCommand_8h-source.html#l00049">dtn::BundleCommand::BundleCommand::InjectOpts::delivery_rcpt_</a>, <a class="el" href="BundleCommand_8h-source.html#l00051">dtn::BundleCommand::BundleCommand::InjectOpts::expiration_</a>, <a class="el" href="BundleCommand_8h-source.html#l00048">dtn::BundleCommand::BundleCommand::InjectOpts::forward_rcpt_</a>, <a class="el" href="num2sdnv_8c-source.html#l00034">len</a>, <a class="el" href="BundleCommand_8h-source.html#l00052">dtn::BundleCommand::BundleCommand::InjectOpts::length_</a>, <a class="el" href="BundleCommand_8h-source.html#l00046">dtn::BundleCommand::BundleCommand::InjectOpts::receive_rcpt_</a>, and <a class="el" href="BundleCommand_8h-source.html#l00053">dtn::BundleCommand::BundleCommand::InjectOpts::replyto_</a>.</p>

<p>Referenced by <a class="el" href="BundleCommand_8cc-source.html#l00112">exec()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="BundleCommand_8h-source.html">BundleCommand.h</a><li><a class="el" href="BundleCommand_8cc-source.html">BundleCommand.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:03 2009 for DTN Reference Implementation by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>