5G-LENA nr-v3.3-159-ga6832aa7
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::TrafficGeneratorNgmnFtpMulti Class Reference
+ Inheritance diagram for ns3::TrafficGeneratorNgmnFtpMulti:
+ Collaboration diagram for ns3::TrafficGeneratorNgmnFtpMulti:

Public Member Functions

int64_t AssignStreams (int64_t stream) override
 
void SetPacketSize (uint32_t packetSize)
 Sets the packet size.
 
- Public Member Functions inherited from ns3::TrafficGenerator
int64_t AssignStreams (int64_t stream) override
 
Ptr< Socket > GetSocket () const
 Get the socket this application is attached to.
 
uint64_t GetTotalBytes () const
 Get the total number of bytes that have been sent during this object's lifetime.
 
uint64_t GetTotalPackets () const
 Get the total number of packets that have been sent during this object's lifetime.
 
bool SendPacketBurst ()
 Send another packet burst, which can be e.g., a file, or a video frame.
 
void SetPacketSize (uint32_t packetSize)
 Sets the packet size.
 
void SetProtocol (TypeId protocol)
 Sets the protocol.
 
void SetRemote (Address remote)
 Sets the remote address.
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.
 
- Static Public Member Functions inherited from ns3::TrafficGenerator
static TypeId GetTypeId ()
 Get the type ID.
 

Protected Member Functions

void DoDispose () override
 
void DoInitialize () override
 
- Protected Member Functions inherited from ns3::TrafficGenerator
void DoDispose () override
 
void DoInitialize () override
 
uint32_t GetPacketBurstSizeInBytes () const
 
uint32_t GetPacketBurstSizeInPackets () const
 
Address GetPeer () const
 
uint16_t GetTgId () const
 
void SetPacketBurstSizeInBytes (uint32_t burstSize)
 
void SetPacketBurstSizeInPackets (uint32_t burstSize)
 
void StopApplication () override
 

Additional Inherited Members

- Public Types inherited from ns3::TrafficGenerator
typedef TracedCallback< Ptr< const Packet > > TxTracedCallback
 Traced Callback: sent packets.
 
- Public Attributes inherited from ns3::TrafficGenerator
TxTracedCallback m_txTrace
 

Detailed Description

Definition at line 37 of file traffic-generator-ngmn-ftp-multi.h.

Constructor & Destructor Documentation

◆ TrafficGeneratorNgmnFtpMulti()

ns3::TrafficGeneratorNgmnFtpMulti::TrafficGeneratorNgmnFtpMulti ( )

Definition at line 80 of file traffic-generator-ngmn-ftp-multi.cc.

◆ ~TrafficGeneratorNgmnFtpMulti()

ns3::TrafficGeneratorNgmnFtpMulti::~TrafficGeneratorNgmnFtpMulti ( )
override

Definition at line 86 of file traffic-generator-ngmn-ftp-multi.cc.

Member Function Documentation

◆ AssignStreams()

int64_t ns3::TrafficGeneratorNgmnFtpMulti::AssignStreams ( int64_t  stream)
override

Assign a fixed random variable stream number to the random variables used by this model. Return the number of streams (possibly zero) that have been assigned.

Parameters
streamfirst stream index to use
Returns
the number of stream indices assigned by this model

Definition at line 175 of file traffic-generator-ngmn-ftp-multi.cc.

◆ DoDispose()

void ns3::TrafficGeneratorNgmnFtpMulti::DoDispose ( )
overrideprotected

Definition at line 152 of file traffic-generator-ngmn-ftp-multi.cc.

◆ DoInitialize()

void ns3::TrafficGeneratorNgmnFtpMulti::DoInitialize ( )
overrideprotected

Definition at line 162 of file traffic-generator-ngmn-ftp-multi.cc.

◆ GetTypeId()

TypeId ns3::TrafficGeneratorNgmnFtpMulti::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 29 of file traffic-generator-ngmn-ftp-multi.cc.

References SetPacketSize(), ns3::TrafficGenerator::SetProtocol(), and ns3::TrafficGenerator::SetRemote().

+ Here is the call graph for this function:

◆ SetPacketSize()

void ns3::TrafficGeneratorNgmnFtpMulti::SetPacketSize ( uint32_t  packetSize)

Sets the packet size.

Definition at line 108 of file traffic-generator-ngmn-ftp-multi.cc.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

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