node302.html
来自「相关搜索: ns2仿真结果分析 all-awk ns2 ns2 无限网络中awk」· HTML 代码 · 共 99 行
HTML
99 行
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>26.4.1.0.3 The rtPeer../ns-2/route-proto.tcl</TITLE><META NAME="description" CONTENT="26.4.1.0.3 The rtPeer../ns-2/route-proto.tcl"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node303.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node303.html"><LINK REL="previous" HREF="javascript:if(confirm('http://www.isi.edu/nsnam/ns/doc/node301.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.isi.edu/nsnam/ns/doc/node301.html'" tppabs="http://www.isi.edu/nsnam/ns/doc/node301.html"><LINK REL="up" HREF="node299.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node299.html"><LINK REL="next" HREF="node303.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node303.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html5970" HREF="node303.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node303.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html5964" HREF="node299.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node299.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html5958" HREF="javascript:if(confirm('http://www.isi.edu/nsnam/ns/doc/node301.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.isi.edu/nsnam/ns/doc/node301.html'" tppabs="http://www.isi.edu/nsnam/ns/doc/node301.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html5966" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html5968" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html5971" HREF="node303.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node303.html">26.4.1.0.4 Agent/rtProto../ns-2/route-proto.tcl</A><B> Up:</B> <A NAME="tex2html5965" HREF="node299.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node299.html">26.4.1 The classes</A><B> Previous:</B> <A NAME="tex2html5959" HREF="javascript:if(confirm('http://www.isi.edu/nsnam/ns/doc/node301.html \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.isi.edu/nsnam/ns/doc/node301.html'" tppabs="http://www.isi.edu/nsnam/ns/doc/node301.html">26.4.1.0.2 rtObject../ns-2/route-proto.tcl</A>   <B> <A NAME="tex2html5967" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html5969" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H4><A NAME="SECTION05141030000000000000">26.4.1.0.3 The rtPeer../ns-2/route-proto.tcl</A></H4>is a container class used by the protocol agents.Each object stores the address of the peer agent, and the metric and preference for each route advertised by that peer.A protocol agent will store one object per peer.The class maintains the instance variable <TT>addr_</TT>, and theinstance variable arrays, <TT>metric_</TT> and <TT>rtpref_</TT>;the array indices are the destination node handles.<P>The class instance procedures,[]metric../ns-2/route-proto.tclrtPeer::metric and[]preference../ns-2/route-proto.tclrtPeer::preference,take one destination and value, and set the respective array variable.The procedures,[]metric?../ns-2/route-proto.tclrtPeer::metric? and[]preference?../ns-2/route-proto.tclrtPeer::preference?,take a destination and return the current value for that destination.The instance procedure[]addr?../ns-2/route-proto.tclrtPeer::addr?returns the address of the peer agent.<P><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?