21 #include "ns3/udp-server.h"
22 #include "ns3/udp-client.h"
23 #include "ns3/udp-trace-client.h"
24 #include "ns3/uinteger.h"
25 #include "ns3/string.h"
holds a vector of ns3::Application pointers.
uint32_t AddApplication(Ptr< Application > application)
Ptr< UdpServer > m_server
The last created server application.
std::vector< Ptr< Node > >::const_iterator Iterator
hold variables of type string
void Add(ApplicationContainer other)
Append the contents of another ApplicationContainer to the end of this container. ...
Hold a value for an Attribute.
void SetAttribute(std::string name, const AttributeValue &value)
Record an attribute to be set in each Application after it is is created.
void SetTypeId(TypeId tid)
UdpClientHelper()
Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-c...
Iterator End(void) const
Get an iterator which indicates past-the-last Node in the container.
ObjectFactory m_factory
Object factory.
ApplicationContainer Install(NodeContainer c)
ApplicationContainer Install(NodeContainer c)
a polymophic address class
UdpServerHelper()
Create UdpServerHelper which will make life easier for people trying to set up simulations with udp-c...
UdpTraceClientHelper()
Create UdpTraceClientHelper which will make life easier for people trying to set up simulations with ...
Ptr< Object > Create(void) const
Hold an unsigned integer type.
ObjectFactory m_factory
Object factory.
Ptr< UdpServer > GetServer(void)
Return the last created server.
static TypeId GetTypeId(void)
Get the type ID.
static TypeId GetTypeId(void)
Get the type ID.
void SetAttribute(std::string name, const AttributeValue &value)
Record an attribute to be set in each Application after it is is created.
keep track of a set of node pointers.
Iterator Begin(void) const
Get an iterator which refers to the first Node in the container.
void Set(std::string name, const AttributeValue &value)
ObjectFactory m_factory
Object factory.
static TypeId GetTypeId(void)
Get the type ID.
Describes an IPv6 address.
Ipv4 addresses are stored in host order in this class.
hold objects of type ns3::Address
ApplicationContainer Install(NodeContainer c)
Create one UDP server application on each of the Nodes in the NodeContainer.
void SetAttribute(std::string name, const AttributeValue &value)
Record an attribute to be set in each Application after it is is created.
A UDP server, receives UDP packets from a remote host.