class TBF : public Connector


Inheritance:


Public Methods

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

Protected Fields

int bucket_
bucket depth
int init_
double lastupdatetime_
PacketQueue* q_
int qlen_
double rate_
token bucket rate
TBF_Timer tbf_timer_
double tokens_
acumulated tokens

Protected Methods

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

Inherited from Connector:

Public Methods

virtual void drop(Packet* p)
inline NsObject* target()

Protected Fields

NsObject* drop_
NsObject* target_

Protected Methods

int command(int argc, const char*const* argv)
virtual void drop(Packet* p, const char *s)
inline void send(Packet* p, Handler* h)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)
virtual void reset()

Inherited from Handler:


Documentation

TBF()

~TBF()

void timeout(int)

void recv(Packet *, Handler *)

double getupdatedtokens()

double tokens_
acumulated tokens

double rate_
token bucket rate

int bucket_
bucket depth

int qlen_

double lastupdatetime_

PacketQueue* q_

TBF_Timer tbf_timer_

int init_


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de