This traffic generator follows an On/Off pattern: after Application::StartApplication is called, "On" and "Off" states alternate. More...
Classes | |
class | ns3::OnOffApplication |
Generate traffic to a single destination according to an OnOff pattern. More... | |
class | ns3::OnOffHelper |
A helper to make it easier to instantiate an ns3::OnOffApplication on a set of nodes. More... | |
This traffic generator follows an On/Off pattern: after Application::StartApplication is called, "On" and "Off" states alternate.
The duration of each of these states is determined with the onTime and the offTime random variables. During the "Off" state, no traffic is generated. During the "On" state, cbr traffic is generated. This cbr traffic is characterized by the specified "data rate" and "packet size".