next up previous contents index
Next: Pareto On/Off Up: 31.3 The class TrafficGenerator Previous: 31.3 The class TrafficGenerator Exponential On/Off

An Exponential On/Off object is embodied in the OTcl class Application/Traffic/Exponential. The member variables that parameterize this object are:

Hence a new Exponential On/Off traffic generator can be created and parameterized as follows:
        set e [new Application/Traffic/Exponential]
        \$e set packetSize\_ 210
        \$e set burst\_time\_ 500ms
        \$e set idle\_time\_ 500ms
        \$e set rate\_ 100k