instanciate an ns3::OnOffApplication on a set of nodes.
More...
#include <on-off-helper.h>
List of all members.
Detailed Description
instanciate an ns3::OnOffApplication on a set of nodes.
Constructor & Destructor Documentation
ns3::OnOffHelper::OnOffHelper |
( |
std::string |
protocol, |
|
|
Address |
address | |
|
) |
| | |
- Parameters:
-
| protocol | the name of the protocol to use to send traffic by the applications. This string identifies the socket factory type used to create sockets for the applications. A typical value would be ns3::UdpSocketFactory. |
| address | the address of the remote node to send traffic to. |
Member Function Documentation
- Parameters:
-
Install an ns3::OnOffApplication on each node of the input container configured with all the attributes set with SetAttribute.
void ns3::OnOffHelper::SetAttribute |
( |
std::string |
name, |
|
|
const AttributeValue & |
value | |
|
) |
| | |
- Parameters:
-
| name | the name of the application attribute to set |
| value | the value of the application attribute to set |
The documentation for this class was generated from the following file:
- src/helper/on-off-helper.h