Creates pre-defined trafics. More...
#include "satellite-traffic-helper.h"
Classes | |
| struct | CustomTrafficInfo_s |
| Struct for info on last custom trafic created. More... | |
Public Types | |
| enum | TrafficDirection_t { RTN_LINK , FWD_LINK } |
| enum | TrafficType_t { LORA_PERIODIC , LORA_CBR , CBR , ONOFF , HTTP , NRTV , POISSON , VOIP , CUSTOM } |
| List of available traffics. More... | |
| enum | TransportLayerProtocol_t { UDP , TCP } |
| enum | VoipCodec_t { G_711_1 , G_711_2 , G_723_1 , G_729_2 , G_729_3 } |
Public Member Functions | |
| SatTrafficHelper () | |
| Default constructor. | |
| SatTrafficHelper (Ptr< SatHelper > satHelper, Ptr< SatStatsHelperContainer > satStatsHelperContainer) | |
| Create a base SatTrafficHelper for creating customized traffics. | |
| virtual | ~SatTrafficHelper () |
| Destructor for SatTrafficHelper. | |
| void | AddCbrTraffic (TrafficDirection_t direction, TransportLayerProtocol_t protocol, Time interval, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay) |
| Add a new CBR traffic between chosen GWs and UTs. | |
| void | AddCbrTraffic (TrafficDirection_t direction, TransportLayerProtocol_t protocol, Time interval, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay, double percentage) |
| Add a new CBR traffic between chosen GWs and UTs. | |
| void | AddCustomTraffic (TrafficDirection_t direction, std::string interval, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay) |
| Add a new CBR traffic between chosen GWs and UTs that can be customized. | |
| void | AddHttpTraffic (TrafficDirection_t direction, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay) |
| Add a new TCP/HTTP traffic between chosen GWs and UTs. | |
| void | AddHttpTraffic (TrafficDirection_t direction, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay, double percentage) |
| Add a new TCP/HTTP traffic between chosen GWs and UTs. | |
| void | AddLoraCbrTraffic (Time interval, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay) |
| Add Lora CBR traffic between chosen GWs and UTs. | |
| void | AddLoraCbrTraffic (Time interval, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay, double percentage) |
| Add Lora CBR traffic between chosen GWs and UTs. | |
| void | AddLoraPeriodicTraffic (Time interval, uint32_t packetSize, NodeContainer uts, Time startTime, Time stopTime, Time startDelay) |
| Add Lora periodic traffic between chosen GWs and UTs. | |
| void | AddLoraPeriodicTraffic (Time interval, uint32_t packetSize, NodeContainer uts, Time startTime, Time stopTime, Time startDelay, double percentage) |
| Add Lora periodic traffic between chosen GWs and UTs. | |
| void | AddNrtvTraffic (TrafficDirection_t direction, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay) |
| Add a new TCP/NRTV traffic between chosen GWs and UTs. | |
| void | AddNrtvTraffic (TrafficDirection_t direction, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay, double percentage) |
| Add a new TCP/NRTV traffic between chosen GWs and UTs. | |
| void | AddOnOffTraffic (TrafficDirection_t direction, TransportLayerProtocol_t protocol, DataRate dataRate, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, std::string onTimePattern, std::string offTimePattern, Time startTime, Time stopTime, Time startDelay) |
| Add a new ONOFF traffic between chosen GWs and UTs. | |
| void | AddOnOffTraffic (TrafficDirection_t direction, TransportLayerProtocol_t protocol, DataRate dataRate, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, std::string onTimePattern, std::string offTimePattern, Time startTime, Time stopTime, Time startDelay, double percentage) |
| Add a new ONOFF traffic between chosen GWs and UTs. | |
| void | AddPoissonTraffic (TrafficDirection_t direction, Time onTime, Time offTimeExpMean, DataRate rate, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay) |
| Add a new Poisson traffic between chosen GWs and UTs. | |
| void | AddPoissonTraffic (TrafficDirection_t direction, Time onTime, Time offTimeExpMean, DataRate rate, uint32_t packetSize, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay, double percentage) |
| Add a new Poisson traffic between chosen GWs and UTs. | |
| void | AddVoipTraffic (TrafficDirection_t direction, VoipCodec_t codec, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay) |
| Add a new Poisson traffic between chosen GWs and UTs. | |
| void | AddVoipTraffic (TrafficDirection_t direction, VoipCodec_t codec, NodeContainer gwUsers, NodeContainer utUsers, Time startTime, Time stopTime, Time startDelay, double percentage) |
| Add a new Poisson traffic between chosen GWs and UTs. | |
| void | ChangeCustomTraffic (Time delay, std::string interval, uint32_t packetSize) |
| Change the parameters of the last custom traffic created. | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| Get the type ID. | |
Private Member Functions | |
| bool | HasSinkInstalled (Ptr< Node > node, uint16_t port) |
| Check if node has a PacketSink installed at certain port. | |
| void | UpdateAttribute (Ptr< CbrApplication > application, std::string interval, uint32_t packetSize) |
| Update the chosen attribute of a custom traffic. | |
Private Attributes | |
| bool | m_enableDefaultStatistics |
| CustomTrafficInfo_s | m_last_custom_application |
| Ptr< SatHelper > | m_satHelper |
| Ptr< SatStatsHelperContainer > | m_satStatsHelperContainer |
Creates pre-defined trafics.
Definition at line 46 of file satellite-traffic-helper.h.
| Enumerator | |
|---|---|
| RTN_LINK | |
| FWD_LINK | |
Definition at line 65 of file satellite-traffic-helper.h.
List of available traffics.
| Enumerator | |
|---|---|
| LORA_PERIODIC | |
| LORA_CBR | |
| CBR | |
| ONOFF | |
| HTTP | |
| NRTV | |
| POISSON | |
| VOIP | |
| CUSTOM | |
Definition at line 52 of file satellite-traffic-helper.h.
| Enumerator | |
|---|---|
| UDP | |
| TCP | |
Definition at line 71 of file satellite-traffic-helper.h.
| Enumerator | |
|---|---|
| G_711_1 | |
| G_711_2 | |
| G_723_1 | |
| G_729_2 | |
| G_729_3 | |
Definition at line 77 of file satellite-traffic-helper.h.
| ns3::SatTrafficHelper::SatTrafficHelper | ( | ) |
Default constructor.
Not used.
Definition at line 308 of file satellite-traffic-helper.cc.
References m_satHelper, and m_satStatsHelperContainer.
| ns3::SatTrafficHelper::SatTrafficHelper | ( | Ptr< SatHelper > | satHelper, |
| Ptr< SatStatsHelperContainer > | satStatsHelperContainer ) |
Create a base SatTrafficHelper for creating customized traffics.
Definition at line 315 of file satellite-traffic-helper.cc.
References m_enableDefaultStatistics, m_last_custom_application, m_satHelper, and m_satStatsHelperContainer.
|
inlinevirtual |
Destructor for SatTrafficHelper.
Definition at line 106 of file satellite-traffic-helper.h.
| void ns3::SatTrafficHelper::AddCbrTraffic | ( | TrafficDirection_t | direction, |
| TransportLayerProtocol_t | protocol, | ||
| Time | interval, | ||
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add a new CBR traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| protocol | Transport layer protocol |
| interval | Wait time between transmission of two packets |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 479 of file satellite-traffic-helper.cc.
References FWD_LINK, HasSinkInstalled(), m_enableDefaultStatistics, m_satHelper, m_satStatsHelperContainer, ns3::SatStatsHelper::OUTPUT_SCALAR_FILE, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, RTN_LINK, and TCP.
Referenced by AddCbrTraffic().
| void ns3::SatTrafficHelper::AddCbrTraffic | ( | TrafficDirection_t | direction, |
| TransportLayerProtocol_t | protocol, | ||
| Time | interval, | ||
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay, | ||
| double | percentage ) |
Add a new CBR traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| protocol | Transport layer protocol |
| interval | Wait time between transmission of two packets |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
| percentage | Percentage of UT users having the traffic installed |
Definition at line 657 of file satellite-traffic-helper.cc.
References AddCbrTraffic().
| void ns3::SatTrafficHelper::AddCustomTraffic | ( | TrafficDirection_t | direction, |
| std::string | interval, | ||
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add a new CBR traffic between chosen GWs and UTs that can be customized.
| direction | Direction of traffic |
| interval | Initial wait time between transmission of two packets |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 1809 of file satellite-traffic-helper.cc.
References FWD_LINK, HasSinkInstalled(), m_enableDefaultStatistics, m_last_custom_application, m_satHelper, m_satStatsHelperContainer, ns3::SatStatsHelper::OUTPUT_SCALAR_FILE, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, and RTN_LINK.
| void ns3::SatTrafficHelper::AddHttpTraffic | ( | TrafficDirection_t | direction, |
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add a new TCP/HTTP traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 919 of file satellite-traffic-helper.cc.
References FWD_LINK, m_enableDefaultStatistics, m_satStatsHelperContainer, ns3::SatStatsHelper::OUTPUT_SCALAR_FILE, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, and RTN_LINK.
Referenced by AddHttpTraffic().
| void ns3::SatTrafficHelper::AddHttpTraffic | ( | TrafficDirection_t | direction, |
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay, | ||
| double | percentage ) |
Add a new TCP/HTTP traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
| percentage | Percentage of UT users having the traffic installed |
Definition at line 1084 of file satellite-traffic-helper.cc.
References AddHttpTraffic().
| void ns3::SatTrafficHelper::AddLoraCbrTraffic | ( | Time | interval, |
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add Lora CBR traffic between chosen GWs and UTs.
| interval | Wait time between transmission of two packets |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 392 of file satellite-traffic-helper.cc.
References HasSinkInstalled(), and m_satHelper.
Referenced by AddLoraCbrTraffic().
| void ns3::SatTrafficHelper::AddLoraCbrTraffic | ( | Time | interval, |
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay, | ||
| double | percentage ) |
Add Lora CBR traffic between chosen GWs and UTs.
| interval | Wait time between transmission of two packets |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
| percentage | Percentage of UT users having the traffic installed |
Definition at line 446 of file satellite-traffic-helper.cc.
References AddLoraCbrTraffic().
| void ns3::SatTrafficHelper::AddLoraPeriodicTraffic | ( | Time | interval, |
| uint32_t | packetSize, | ||
| NodeContainer | uts, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add Lora periodic traffic between chosen GWs and UTs.
| interval | Wait time between transmission of two packets |
| packetSize | Packet size in bytes |
| uts | The User Terminals |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 325 of file satellite-traffic-helper.cc.
Referenced by AddLoraPeriodicTraffic().
| void ns3::SatTrafficHelper::AddLoraPeriodicTraffic | ( | Time | interval, |
| uint32_t | packetSize, | ||
| NodeContainer | uts, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay, | ||
| double | percentage ) |
Add Lora periodic traffic between chosen GWs and UTs.
| interval | Wait time between transmission of two packets |
| packetSize | Packet size in bytes |
| uts | The User Terminals |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
| percentage | Percentage of UT users having the traffic installed |
Definition at line 366 of file satellite-traffic-helper.cc.
References AddLoraPeriodicTraffic().
| void ns3::SatTrafficHelper::AddNrtvTraffic | ( | TrafficDirection_t | direction, |
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add a new TCP/NRTV traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 1109 of file satellite-traffic-helper.cc.
References FWD_LINK, m_enableDefaultStatistics, m_satStatsHelperContainer, ns3::SatStatsHelper::OUTPUT_SCALAR_FILE, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, and RTN_LINK.
Referenced by AddNrtvTraffic().
| void ns3::SatTrafficHelper::AddNrtvTraffic | ( | TrafficDirection_t | direction, |
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay, | ||
| double | percentage ) |
Add a new TCP/NRTV traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
| percentage | Percentage of UT users having the traffic installed |
Definition at line 1256 of file satellite-traffic-helper.cc.
References AddNrtvTraffic().
| void ns3::SatTrafficHelper::AddOnOffTraffic | ( | TrafficDirection_t | direction, |
| TransportLayerProtocol_t | protocol, | ||
| DataRate | dataRate, | ||
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| std::string | onTimePattern, | ||
| std::string | offTimePattern, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add a new ONOFF traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| protocol | Transport layer protocol |
| dataRate | Data rate in ON state |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| onTimePattern | Pattern for ON state duration |
| offTimePattern | Pattern for OFF state duration |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 694 of file satellite-traffic-helper.cc.
References FWD_LINK, HasSinkInstalled(), ns3::SatOnOffHelper::Install(), m_enableDefaultStatistics, m_satHelper, m_satStatsHelperContainer, ns3::SatStatsHelper::OUTPUT_SCALAR_FILE, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, RTN_LINK, ns3::SatOnOffHelper::SetAttribute(), and TCP.
Referenced by AddOnOffTraffic().
| void ns3::SatTrafficHelper::AddOnOffTraffic | ( | TrafficDirection_t | direction, |
| TransportLayerProtocol_t | protocol, | ||
| DataRate | dataRate, | ||
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| std::string | onTimePattern, | ||
| std::string | offTimePattern, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay, | ||
| double | percentage ) |
Add a new ONOFF traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| protocol | Transport layer protocol |
| dataRate | Data rate in ON state |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| onTimePattern | Pattern for ON state duration |
| offTimePattern | Pattern for OFF state duration |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
| percentage | Percentage of UT users having the traffic installed |
Definition at line 878 of file satellite-traffic-helper.cc.
References AddOnOffTraffic().
| void ns3::SatTrafficHelper::AddPoissonTraffic | ( | TrafficDirection_t | direction, |
| Time | onTime, | ||
| Time | offTimeExpMean, | ||
| DataRate | rate, | ||
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add a new Poisson traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| onTime | On time duration in seconds |
| offTimeExpMean | Off time mean in seconds. The off time follows an exponential law of mean offTimeExpMean |
| rate | The rate with the unit |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 1281 of file satellite-traffic-helper.cc.
References FWD_LINK, HasSinkInstalled(), ns3::SatOnOffHelper::Install(), m_enableDefaultStatistics, m_satHelper, m_satStatsHelperContainer, ns3::SatStatsHelper::OUTPUT_SCALAR_FILE, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, RTN_LINK, and ns3::SatOnOffHelper::SetAttribute().
Referenced by AddPoissonTraffic().
| void ns3::SatTrafficHelper::AddPoissonTraffic | ( | TrafficDirection_t | direction, |
| Time | onTime, | ||
| Time | offTimeExpMean, | ||
| DataRate | rate, | ||
| uint32_t | packetSize, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay, | ||
| double | percentage ) |
Add a new Poisson traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| onTime | On time duration in seconds |
| offTimeExpMean | Off time mean in seconds. The off time follows an exponential law of mean offTimeExpMean |
| rate | The rate with the unit |
| packetSize | Packet size in bytes |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
| percentage | Percentage of UT users having the traffic installed |
Definition at line 1480 of file satellite-traffic-helper.cc.
References AddPoissonTraffic().
| void ns3::SatTrafficHelper::AddVoipTraffic | ( | TrafficDirection_t | direction, |
| VoipCodec_t | codec, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay ) |
Add a new Poisson traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| codec | the Codec used |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
Definition at line 1519 of file satellite-traffic-helper.cc.
References FWD_LINK, G_711_1, G_711_2, G_723_1, G_729_2, G_729_3, HasSinkInstalled(), ns3::SatOnOffHelper::Install(), m_enableDefaultStatistics, m_satHelper, m_satStatsHelperContainer, ns3::SatStatsHelper::OUTPUT_SCALAR_FILE, ns3::SatStatsHelper::OUTPUT_SCATTER_FILE, RTN_LINK, and ns3::SatOnOffHelper::SetAttribute().
Referenced by AddVoipTraffic().
| void ns3::SatTrafficHelper::AddVoipTraffic | ( | TrafficDirection_t | direction, |
| VoipCodec_t | codec, | ||
| NodeContainer | gwUsers, | ||
| NodeContainer | utUsers, | ||
| Time | startTime, | ||
| Time | stopTime, | ||
| Time | startDelay, | ||
| double | percentage ) |
Add a new Poisson traffic between chosen GWs and UTs.
| direction | Direction of traffic |
| codec | the Codec used |
| gwUsers | The Gateway Users |
| utUsers | The UT Users |
| startTime | Application Start time |
| stopTime | Application stop time |
| startDelay | application start delay between each user |
| percentage | Percentage of UT users having the traffic installed |
Definition at line 1782 of file satellite-traffic-helper.cc.
References AddVoipTraffic().
| void ns3::SatTrafficHelper::ChangeCustomTraffic | ( | Time | delay, |
| std::string | interval, | ||
| uint32_t | packetSize ) |
Change the parameters of the last custom traffic created.
| delay | Delay after traffic launch to apply the changes |
| interval | New wait time between transmission of two packets |
| packetSize | New packet size in bytes |
Definition at line 2000 of file satellite-traffic-helper.cc.
References m_last_custom_application, and UpdateAttribute().
|
static |
Get the type ID.
Definition at line 294 of file satellite-traffic-helper.cc.
References m_enableDefaultStatistics.
|
private |
Check if node has a PacketSink installed at certain port.
Definition at line 2039 of file satellite-traffic-helper.cc.
Referenced by AddCbrTraffic(), AddCustomTraffic(), AddLoraCbrTraffic(), AddOnOffTraffic(), AddPoissonTraffic(), and AddVoipTraffic().
|
private |
Update the chosen attribute of a custom traffic.
| application | The CBR application to update |
| interval | The new interval |
| packetSize | the new packet size |
Definition at line 2028 of file satellite-traffic-helper.cc.
Referenced by ChangeCustomTraffic().
|
private |
Definition at line 482 of file satellite-traffic-helper.h.
Referenced by SatTrafficHelper(), AddCbrTraffic(), AddCustomTraffic(), AddHttpTraffic(), AddNrtvTraffic(), AddOnOffTraffic(), AddPoissonTraffic(), AddVoipTraffic(), and GetTypeId().
|
private |
Definition at line 480 of file satellite-traffic-helper.h.
Referenced by SatTrafficHelper(), AddCustomTraffic(), and ChangeCustomTraffic().
|
private |
Definition at line 476 of file satellite-traffic-helper.h.
Referenced by SatTrafficHelper(), SatTrafficHelper(), AddCbrTraffic(), AddCustomTraffic(), AddLoraCbrTraffic(), AddOnOffTraffic(), AddPoissonTraffic(), and AddVoipTraffic().
|
private |
Definition at line 478 of file satellite-traffic-helper.h.
Referenced by SatTrafficHelper(), SatTrafficHelper(), AddCbrTraffic(), AddCustomTraffic(), AddHttpTraffic(), AddNrtvTraffic(), AddOnOffTraffic(), AddPoissonTraffic(), and AddVoipTraffic().