Create a server application which waits for input UDP packets and sends them back to the original sender. More...
#include "udp-echo-helper.h"
Inheritance diagram for ns3::UdpEchoServerHelper:
Collaboration diagram for ns3::UdpEchoServerHelper:Public Member Functions | |
| UdpEchoServerHelper (const Address &address) | |
| Create UdpEchoServerHelper which will make life easier for people trying to set up simulations with echos. | |
| UdpEchoServerHelper (uint16_t port) | |
| Create UdpEchoServerHelper which will make life easier for people trying to set up simulations with echos. | |
Public Member Functions inherited from ns3::ApplicationHelper | |
| ApplicationHelper (const std::string &typeId) | |
| Create an application of a given type ID. | |
| ApplicationHelper (TypeId typeId) | |
| Create an application of a given type ID. | |
| int64_t | AssignStreams (NodeContainer c, int64_t stream) |
| Assigns a unique (monotonically increasing) stream number to all applications that match the configured type of this application helper instance. | |
| ApplicationContainer | Install (const std::string &nodeName) |
| Install an application on the node configured with all the attributes set with SetAttribute. | |
| ApplicationContainer | Install (NodeContainer c) |
| Install an application on each node of the input container configured with all the attributes set with SetAttribute. | |
| ApplicationContainer | Install (Ptr< Node > node) |
| Install an application on the node configured with all the attributes set with SetAttribute. | |
| void | SetAttribute (const std::string &name, const AttributeValue &value) |
| Helper function used to set the underlying application attributes. | |
| void | SetTypeId (const std::string &typeId) |
| Allow the helper to be repurposed for another application type. | |
| void | SetTypeId (TypeId typeId) |
| Allow the helper to be repurposed for another application type. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::ApplicationHelper | |
| static int64_t | AssignStreamsToAllApps (NodeContainer c, int64_t stream) |
| Assign a fixed random variable stream number to the random variables used by all the applications. | |
Protected Member Functions inherited from ns3::ApplicationHelper | |
| virtual Ptr< Application > | DoInstall (Ptr< Node > node) |
| Install an application on the node configured with all the attributes set with SetAttribute. | |
Protected Attributes inherited from ns3::ApplicationHelper | |
| ObjectFactory | m_factory |
| Object factory. | |
Create a server application which waits for input UDP packets and sends them back to the original sender.
Definition at line 24 of file udp-echo-helper.h.
| ns3::UdpEchoServerHelper::UdpEchoServerHelper | ( | uint16_t | port | ) |
Create UdpEchoServerHelper which will make life easier for people trying to set up simulations with echos.
| port | The port the server will wait on for incoming packets |
Definition at line 19 of file udp-echo-helper.cc.
References ns3::ApplicationHelper::ApplicationHelper(), port, and ns3::ApplicationHelper::SetAttribute().
Here is the call graph for this function:| ns3::UdpEchoServerHelper::UdpEchoServerHelper | ( | const Address & | address | ) |
Create UdpEchoServerHelper which will make life easier for people trying to set up simulations with echos.
| address | The address the server will bind to |
Definition at line 25 of file udp-echo-helper.cc.
References ns3::ApplicationHelper::ApplicationHelper(), and ns3::ApplicationHelper::SetAttribute().
Here is the call graph for this function: