Public Member Functions | Public Attributes

RateLimitStrategy Class Reference

List of all members.

Public Member Functions

 RateLimitStrategy (double rate, int ptype, double share, double estimate)
double process (Packet *p, int mine, int lowDemand)
void restrictPacketType (int type, double share, double actual)
double getDropRate ()
double getArrivalRate ()
void reset ()

Public Attributes

double target_rate_
double reset_time_
RateEstimatorrateEstimator_
RateLimiterrateLimiter_
int ptype_
double ptype_share_
RateEstimatorptypeRateEstimator_
RateLimiterptypeRateLimiter_
PacketTypeLogptypeLog_

The documentation for this class was generated from the following files: