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  

RateLimiter Class Reference

#include <rate-limit-strategy.h>

Inheritance diagram for RateLimiter:

PrefDropRateLimiter TokenBucketRateLimiter List of all members.

Public Member Functions

virtual int rateLimit (Packet *p, double estRate, double targetRate, int mine, int lowDemand)=0
virtual void reset ()=0

Member Function Documentation

virtual int RateLimiter::rateLimit Packet   p,
double    estRate,
double    targetRate,
int    mine,
int    lowDemand
[pure virtual]

Implemented in TokenBucketRateLimiter.

virtual void RateLimiter::reset   [pure virtual]

Implemented in TokenBucketRateLimiter.

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