Public Member Functions

ns3::UdpServerHelper Class Reference

Create a server application which waits for input udp packets and uses the information carried into their payload to compute delay and to determine if some packets are lost. More...

#include <udp-client-server-helper.h>

Collaboration diagram for ns3::UdpServerHelper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UdpServerHelper ()
 UdpServerHelper (uint16_t port)
void SetAttribute (std::string name, const AttributeValue &value)
ApplicationContainer Install (NodeContainer c)
Ptr< UdpServerGetServer (void)

Detailed Description

Create a server application which waits for input udp packets and uses the information carried into their payload to compute delay and to determine if some packets are lost.


Constructor & Destructor Documentation

ns3::UdpServerHelper::UdpServerHelper (  ) 

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

ns3::UdpServerHelper::UdpServerHelper ( uint16_t  port  ) 

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

Parameters:
port The port the server will wait on for incoming packets

Member Function Documentation

ApplicationContainer ns3::UdpServerHelper::Install ( NodeContainer  c  ) 

Create one udp server application on each of the Nodes in the NodeContainer.

Parameters:
c The nodes on which to create the Applications. The nodes are specified by a NodeContainer.
Returns:
The applications created, one Application per Node in the NodeContainer.
void ns3::UdpServerHelper::SetAttribute ( std::string  name,
const AttributeValue value 
)

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

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

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