class <Application/Traffic/Pareto> POO_Traffic : public TrafficGenerator


Inheritance:


Public Methods

virtual double next_interval(int&)
int on()
POO_Traffic()

Protected Fields

double burstlen_
average packets/burst
double interval_
inter-packet time at burst rate
double offtime_
average idle period (sec)
int on_
denotes whether in the on or off state
double ontime_
average length of burst (sec)
double p1_
parameter for pareto distribution to compute number of packets in burst
double p2_
parameter for pareto distribution to compute length of idle period
double rate_
send rate during burst (bps)
unsigned int rem_
number of packets remaining in current burst
double shape_
pareto shape parameter

Protected Methods

void init()

Inherited from TrafficGenerator:

Public Methods

virtual double interval()
virtual void recv()
virtual void resume()
virtual void timeout()

Protected Fields

double nextPkttime_
int running_
int size_
TrafficTimer timer_

Protected Methods

virtual void start()
virtual void stop()

Inherited from Application:

Public Methods

virtual void send(int nbytes)

Protected Fields

Agent* agent_
int enableRecv_
int enableResume_

Protected Methods

virtual int command(int argc, const char*const* argv)

Inherited from Process:

Public Methods

virtual AppData* get_data(int& size, AppData* req_data = 0)
virtual void process_data(int size, AppData* data)
virtual void send_data(int size, AppData* data = 0)
inline Process*& target()

Protected Fields

Process* target_

Documentation

POO_Traffic()

virtual double next_interval(int&)

int on()

void init()

double ontime_
average length of burst (sec)

double offtime_
average idle period (sec)

double rate_
send rate during burst (bps)

double interval_
inter-packet time at burst rate

double burstlen_
average packets/burst

double shape_
pareto shape parameter

unsigned int rem_
number of packets remaining in current burst

double p1_
parameter for pareto distribution to compute number of packets in burst

double p2_
parameter for pareto distribution to compute length of idle period

int on_
denotes whether in the on or off state


Direct child classes:
Traffic/Pareto

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