#include <udp-client-server-helper.h>
List of all members.
Detailed Description
Create udpTraceClient application which sends udp packets based on a trace file of an MPEG4 stream. Trace files could be downloaded form : http://www.tkn.tu-berlin.de/research/trace/ltvt.html (the 2 first lines of the file should be removed) A valid trace file is a file with 4 columns: -1- the first one represents the frame index -2- the second one indicates the type of the frame: I, P or B -3- the third one indicates the time on which the frame was generated by the encoder -4- the fourth one indicates the frame size in byte
Constructor & Destructor Documentation
ns3::UdpTraceClientHelper::UdpTraceClientHelper |
( |
|
) |
|
Create UdpTraceClientHelper which will make life easier for people trying to set up simulations with udp-client-server.
ns3::UdpTraceClientHelper::UdpTraceClientHelper |
( |
Ipv4Address |
ip, |
|
|
uint16_t |
port, |
|
|
std::string |
filename | |
|
) |
| | |
Create UdpTraceClientHelper which will make life easier for people trying to set up simulations with udp-client-server.
- Parameters:
-
| ip | The IP address of the remote udp server |
| port | The port number of the remote udp server |
| filename | the file from which packet traces will be loaded |
Member Function Documentation
- Parameters:
-
Create one udp trace client application on each of the input nodes
- Returns:
- the applications created, one application per input node.
void ns3::UdpTraceClientHelper::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:
- src/helper/udp-client-server-helper.h