ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
|  Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TapAgent Class Reference

#include <tap.h>

Inheritance diagram for TapAgent:

Agent IOHandler Connector NsObject TclObject Handler IPTapAgent TCPTapAgent List of all members.

Public Member Functions

 TapAgent ()
int command (int, const char *const *)
void recv (Packet *p, Handler *)

Protected Member Functions

void dispatch (int)
int linknet ()
double now ()

Protected Attributes

int maxpkt_
Network * net_

Private Member Functions

virtual int sendpkt (Packet *)
virtual void recvpkt ()

Constructor & Destructor Documentation

TapAgent::TapAgent (    ) 
 


Member Function Documentation

int TapAgent::command (  int   ,
const char *const *   
)  [virtual]
 

Reimplemented from Agent.

Reimplemented in TCPTapAgent.

void TapAgent::dispatch (  int    )  [protected, virtual]
 

Implements IOHandler.

int TapAgent::linknet (    )  [protected]
 

double TapAgent::now (    )  [inline, protected]
 

void TapAgent::recv (  Packet *    p,
Handler *   
)  [virtual]
 

Reimplemented from Agent.

void TapAgent::recvpkt (    )  [private, virtual]
 

Reimplemented in IPTapAgent, and TCPTapAgent.

int TapAgent::sendpkt (  Packet *    )  [private, virtual]
 

Reimplemented in IPTapAgent, and TCPTapAgent.


Member Data Documentation

int TapAgent::maxpkt_ [protected]
 

Network* TapAgent::net_ [protected]
 


The documentation for this class was generated from the following files:
This document is generated by doxygen.