⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node99.html

📁 相关搜索: ns2仿真结果分析 all-awk ns2 ns2 无限网络中awk文件 ... [2.tcl.rar] - 在ns2平台上实现对AODV协议的模拟
💻 HTML
字号:
<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>10. Agents</TITLE><META NAME="description" CONTENT="10. Agents"><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="node121.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node121.html"><LINK REL="previous" HREF="node91.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node91.html"><LINK REL="up" HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><LINK REL="next" HREF="node100.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node100.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html2817"  HREF="node100.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node100.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html2811"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html2805"  HREF="node98.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node98.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html2813"  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="tex2html2815"  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="tex2html2818"  HREF="node100.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node100.html">10.1 Agent state</A><B> Up:</B> <A NAME="tex2html2812"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html">2 Simulator Basics</A><B> Previous:</B> <A NAME="tex2html2806"  HREF="node98.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node98.html">9.4 Commands at a</A> &nbsp <B>  <A NAME="tex2html2814"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>  &nbsp <B>  <A NAME="tex2html2816"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION03700000000000000000"></A><A NAME="sec:agents"></A><BR>10. Agents</H1><P>Agents represent endpoints where network-layerpackets are constructed or consumed, and are used in the implementationof protocols at various layers.The Agent../ns-2/agent.h has an implementation partly inOTcl and partly in C++.The C++ implementation is contained in agent.cc andagent.h, and the OTcl support is intcl/lib/ns-agent.tcl.<P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html2819"  HREF="node100.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node100.html">10.1 Agent state</A><LI><A NAME="tex2html2820"  HREF="node101.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node101.html">10.2 Agent methods</A><LI><A NAME="tex2html2821"  HREF="node102.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node102.html">10.3 Protocol Agents</A><LI><A NAME="tex2html2822"  HREF="node103.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node103.html">10.4 OTcl Linkage</A><UL><LI><A NAME="tex2html2823"  HREF="node104.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node104.html">10.4.1 Creating and Manipulating Agents</A><LI><A NAME="tex2html2824"  HREF="node105.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node105.html">10.4.2 Default Values</A><LI><A NAME="tex2html2825"  HREF="node106.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node106.html">10.4.3 OTcl Methods</A></UL><BR><LI><A NAME="tex2html2826"  HREF="node107.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node107.html">10.5 Examples: Tcp, TCP Sink Agents</A><UL><LI><A NAME="tex2html2827"  HREF="node108.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node108.html">10.5.1 Creating the Agent</A><LI><A NAME="tex2html2828"  HREF="node109.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node109.html">10.5.2 Starting the Agent</A><LI><A NAME="tex2html2829"  HREF="node110.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node110.html">10.5.3 Processing Input at Receiver</A><LI><A NAME="tex2html2830"  HREF="node111.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node111.html">10.5.4 Processing Responses at the Sender</A><LI><A NAME="tex2html2831"  HREF="node112.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node112.html">10.5.5 Implementing Timers</A></UL><BR><LI><A NAME="tex2html2832"  HREF="node113.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node113.html">10.6 Creating a New Agent</A><UL><LI><A NAME="tex2html2833"  HREF="node114.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node114.html">10.6.1 Example: A ``ping'' requestor (Inheritance Structure)</A><LI><A NAME="tex2html2834"  HREF="node115.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node115.html">10.6.2 The <TT>recv</TT>() and <TT>timeout</TT>() Methods</A><LI><A NAME="tex2html2835"  HREF="node116.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node116.html">10.6.3 Linking the ``ping'' Agent with OTcl</A><LI><A NAME="tex2html2836"  HREF="node117.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node117.html">10.6.4 Using the agent through OTcl</A></UL><BR><LI><A NAME="tex2html2837"  HREF="node118.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node118.html">10.7 The Agent API</A><LI><A NAME="tex2html2838"  HREF="node119.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node119.html">10.8 Different agent objects</A><LI><A NAME="tex2html2839"  HREF="node120.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node120.html">10.9 Commands at a glance</A></UL><!--End of Table of Child-Links--><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -