Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > d9faa203c2b0b6fbb179d93daaea81b7 > files > 92

libdtn-devel-2.6.0-1mdv2009.0.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: BundleCommand.h Source File</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&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>BundleCommand.h</h1><a href="BundleCommand_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> *    Copyright 2004-2006 Intel Corporation</span>
<a name="l00003"></a>00003 <span class="comment"> * </span>
<a name="l00004"></a>00004 <span class="comment"> *    Licensed under the Apache License, Version 2.0 (the "License");</span>
<a name="l00005"></a>00005 <span class="comment"> *    you may not use this file except in compliance with the License.</span>
<a name="l00006"></a>00006 <span class="comment"> *    You may obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment"> * </span>
<a name="l00008"></a>00008 <span class="comment"> *        http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00009"></a>00009 <span class="comment"> * </span>
<a name="l00010"></a>00010 <span class="comment"> *    Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment"> *    distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00012"></a>00012 <span class="comment"> *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment"> *    See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment"> *    limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"> */</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef _BUNDLE_COMMAND_H_</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define _BUNDLE_COMMAND_H_</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;oasys/tclcmd/TclCommand.h&gt;</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="keyword">namespace </span>dtn {
<a name="l00023"></a>00023 
<a name="l00027"></a><a class="code" href="classdtn_1_1BundleCommand.html">00027</a> <span class="keyword">class </span><a class="code" href="classdtn_1_1BundleCommand.html" title="Debug command for hand manipulation of bundles.">BundleCommand</a> : <span class="keyword">public</span> oasys::TclCommand {
<a name="l00028"></a>00028 <span class="keyword">public</span>:
<a name="l00029"></a>00029     <a class="code" href="classdtn_1_1BundleCommand.html#d6640f655c8f04999307a9f2a1baec15">BundleCommand</a>();
<a name="l00030"></a>00030     
<a name="l00034"></a>00034     <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classdtn_1_1BundleCommand.html#32ac39e7f71d7ba7657ac5cd6bc5ac0f" title="Virtual from CommandModule.">exec</a>(<span class="keywordtype">int</span> objc, Tcl_Obj** objv, Tcl_Interp* interp);
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="keyword">private</span>:
<a name="l00037"></a>00037 
<a name="l00041"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html">00041</a>     <span class="keyword">class </span><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html" title="&amp;quot;bundle inject&amp;quot; command parameters/options">InjectOpts</a> {
<a name="l00042"></a>00042     <span class="keyword">public</span>:
<a name="l00043"></a>00043         <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#079130c9271a70acce532a2a994f6963">InjectOpts</a>();
<a name="l00044"></a>00044         
<a name="l00045"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#390090114d0a3b6983b732e2f4e7ff4c">00045</a>         <span class="keywordtype">bool</span> <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#390090114d0a3b6983b732e2f4e7ff4c" title="Custody xfer requested.">custody_xfer_</a>;     
<a name="l00046"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#d1fd92d1813f3a0b0076057bd37b4921">00046</a>         <span class="keywordtype">bool</span> <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#d1fd92d1813f3a0b0076057bd37b4921" title="Hop by hop reception receipt.">receive_rcpt_</a>;     
<a name="l00047"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#9292ac51ab9fb3b76042088b72d0e2ff">00047</a>         <span class="keywordtype">bool</span> <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#9292ac51ab9fb3b76042088b72d0e2ff" title="Custody xfer reporting.">custody_rcpt_</a>;     
<a name="l00048"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#8f92d59991d20e8cd1bbe8c191c25830">00048</a>         <span class="keywordtype">bool</span> <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#8f92d59991d20e8cd1bbe8c191c25830" title="Hop by hop forwarding reporting.">forward_rcpt_</a>;     
<a name="l00049"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#6b85a34325bd51d7f57b0d657efa48f6">00049</a>         <span class="keywordtype">bool</span> <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#6b85a34325bd51d7f57b0d657efa48f6" title="End-to-end delivery reporting.">delivery_rcpt_</a>;    
<a name="l00050"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#b916965f4a0f51b577110a7bf9c18855">00050</a>         <span class="keywordtype">bool</span> <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#b916965f4a0f51b577110a7bf9c18855" title="Bundle deletion reporting.">deletion_rcpt_</a>;    
<a name="l00051"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#5ad75c647bc1d29b518ef769d474cf39">00051</a>         u_int <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#5ad75c647bc1d29b518ef769d474cf39" title="Bundle TTL.">expiration_</a>;      
<a name="l00052"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#906e62cc78d2b0f92fedeb46ef188cf7">00052</a>         u_int <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#906e62cc78d2b0f92fedeb46ef188cf7" title="Bundle payload length.">length_</a>;          
<a name="l00053"></a><a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#d3083c6c085945a7a7e3e3918517e9f1">00053</a>         std::string <a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html#d3083c6c085945a7a7e3e3918517e9f1" title="Bundle Reply-To EID.">replyto_</a>;   
<a name="l00054"></a>00054     };
<a name="l00055"></a>00055 
<a name="l00059"></a>00059     <span class="keywordtype">bool</span> <a class="code" href="classdtn_1_1BundleCommand.html#fec43bb9744433921b10572d115789de" title="Parse the &amp;quot;bundle inject&amp;quot; command line options.">parse_inject_options</a>(<a class="code" href="classdtn_1_1BundleCommand_1_1InjectOpts.html" title="&amp;quot;bundle inject&amp;quot; command parameters/options">InjectOpts</a>* options, <span class="keywordtype">int</span> objc, Tcl_Obj** objv,
<a name="l00060"></a>00060                               <span class="keyword">const</span> <span class="keywordtype">char</span>** invalidp);
<a name="l00061"></a>00061     
<a name="l00062"></a>00062 };
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 } <span class="comment">// namespace dtn</span>
<a name="l00065"></a>00065 
<a name="l00066"></a>00066 <span class="preprocessor">#endif </span><span class="comment">/* _BUNDLE_COMMAND_H_ */</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:38 2008 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.6 </small></address>
</body>
</html>