ns-3
ns3::UdpClientHelper Class Reference

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>

List of all members.

Public Member Functions

 UdpClientHelper ()
 UdpClientHelper (Ipv4Address ip, uint16_t port)
void SetAttribute (std::string name, const AttributeValue &value)
ApplicationContainer Install (NodeContainer c)

Detailed Description

Create a client application which sends udp packets carrying a 32bit sequence number and a 64 bit time stamp.


Constructor & Destructor Documentation

Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server.

Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server.

Parameters:
ipThe IP address of the remote udp server
portThe port number of the remote udp server

References ns3::UdpClient::GetTypeId(), SetAttribute(), and ns3::ObjectFactory::SetTypeId().


Member Function Documentation

Parameters:
cthe nodes

Create one udp client application on each of the input nodes

Returns:
the applications created, one application per input node.

References ns3::ApplicationContainer::Add(), ns3::Node::AddApplication(), ns3::NodeContainer::Begin(), ns3::ObjectFactory::Create(), and ns3::NodeContainer::End().

void ns3::UdpClientHelper::SetAttribute ( std::string  name,
const AttributeValue value 
)

Record an attribute to be set in each Application after it is is created.

Parameters:
namethe name of the attribute to set
valuethe value of the attribute to set

References ns3::ObjectFactory::Set().

Referenced by UdpClientHelper().


The documentation for this class was generated from the following files: