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  

TBF Class Reference

#include <tbf.h>

Inheritance diagram for TBF:

Connector NsObject TclObject Handler List of all members.

Public Member Functions

 TBF ()
 ~TBF ()
void timeout (int)

Protected Member Functions

void recv (Packet *, Handler *)
double getupdatedtokens ()

Protected Attributes

double tokens_
double rate_
int bucket_
int qlen_
double lastupdatetime_
TBF_Timer tbf_timer_
int init_

Constructor & Destructor Documentation



Member Function Documentation

double TBF::getupdatedtokens   [protected]

void TBF::recv Packet  ,
[protected, virtual]

Reimplemented from Connector.

void TBF::timeout int   

Member Data Documentation

int TBF::bucket_ [protected]

int TBF::init_ [protected]

double TBF::lastupdatetime_ [protected]

PacketQueue* TBF::q_ [protected]

int TBF::qlen_ [protected]

double TBF::rate_ [protected]

TBF_Timer TBF::tbf_timer_ [protected]

double TBF::tokens_ [protected]

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