Create a client application which sends UDP packets carrying a 32bit sequence number and a 64 bit time stamp. More...
#include <udp-client-server-helper.h>
Collaboration diagram for ns3::UdpClientHelper:Public Member Functions | |
| UdpClientHelper () | |
| Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server. More... | |
| UdpClientHelper (Ipv4Address ip, uint16_t port) | |
| Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server. More... | |
| UdpClientHelper (Ipv6Address ip, uint16_t port) | |
| Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server. More... | |
| UdpClientHelper (Address ip, uint16_t port) | |
| Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server. More... | |
| ApplicationContainer | Install (NodeContainer c) |
| void | SetAttribute (std::string name, const AttributeValue &value) |
| Record an attribute to be set in each Application after it is is created. More... | |
Private Attributes | |
| ObjectFactory | m_factory |
| Object factory. More... | |
Create a client application which sends UDP packets carrying a 32bit sequence number and a 64 bit time stamp.
Definition at line 93 of file udp-client-server-helper.h.
| ns3::UdpClientHelper::UdpClientHelper | ( | ) |
Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server.
Definition at line 67 of file udp-client-server-helper.cc.
| ns3::UdpClientHelper::UdpClientHelper | ( | Ipv4Address | ip, |
| uint16_t | port | ||
| ) |
Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server.
| ip | The IPv4 address of the remote UDP server |
| port | The port number of the remote UDP server |
Definition at line 78 of file udp-client-server-helper.cc.
References ns3::UdpClient::GetTypeId(), m_factory, SetAttribute(), and ns3::ObjectFactory::SetTypeId().
Here is the call graph for this function:| ns3::UdpClientHelper::UdpClientHelper | ( | Ipv6Address | ip, |
| uint16_t | port | ||
| ) |
Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server.
| ip | The IPv6 address of the remote UDP server |
| port | The port number of the remote UDP server |
Definition at line 85 of file udp-client-server-helper.cc.
References ns3::UdpClient::GetTypeId(), m_factory, SetAttribute(), and ns3::ObjectFactory::SetTypeId().
Here is the call graph for this function:| ns3::UdpClientHelper::UdpClientHelper | ( | Address | ip, |
| uint16_t | port | ||
| ) |
Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server.
| ip | The IP address of the remote UDP server |
| port | The port number of the remote UDP server |
Definition at line 71 of file udp-client-server-helper.cc.
References ns3::UdpClient::GetTypeId(), m_factory, SetAttribute(), and ns3::ObjectFactory::SetTypeId().
Here is the call graph for this function:| ApplicationContainer ns3::UdpClientHelper::Install | ( | NodeContainer | c | ) |
| c | the nodes |
Create one UDP client application on each of the input nodes
Definition at line 99 of file udp-client-server-helper.cc.
References ns3::ApplicationContainer::Add(), ns3::Node::AddApplication(), ns3::NodeContainer::Begin(), ns3::ObjectFactory::Create(), ns3::NodeContainer::End(), and m_factory.
Referenced by ns3::LenaDeactivateBearerTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LteX2HandoverTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase2::DoRun(), LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), LenaPssFfMacSchedulerTestCase2::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), and LteDistributedFfrAreaTestCase::DoRun().
Here is the call graph for this function:
Here is the caller graph for this function:| void ns3::UdpClientHelper::SetAttribute | ( | std::string | name, |
| const AttributeValue & | value | ||
| ) |
Record an attribute to be set in each Application after it is is created.
| name | the name of the attribute to set |
| value | the value of the attribute to set |
Definition at line 93 of file udp-client-server-helper.cc.
References m_factory, and ns3::ObjectFactory::Set().
Referenced by ns3::LenaDeactivateBearerTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), UdpClientServerTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase2::DoRun(), LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), LenaPssFfMacSchedulerTestCase2::DoRun(), LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), and UdpClientHelper().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Object factory.
Definition at line 150 of file udp-client-server-helper.h.
Referenced by Install(), SetAttribute(), and UdpClientHelper().