A Discrete-Event Network Simulator
API
three-gpp-http-example.cc File Reference
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-module.h"
+ Include dependency graph for three-gpp-http-example.cc:

Go to the source code of this file.

Functions

void ClientEmbeddedObjectReceived (Ptr< const ThreeGppHttpClient >, Ptr< const Packet > packet)
 
void ClientMainObjectReceived (Ptr< const ThreeGppHttpClient >, Ptr< const Packet > packet)
 
void ClientPageReceived (Ptr< const ThreeGppHttpClient > client, const Time &time, uint32_t numObjects, uint32_t numBytes)
 
void ClientRx (Ptr< const Packet > packet, const Address &address)
 
void EmbeddedObjectGenerated (uint32_t size)
 
void MainObjectGenerated (uint32_t size)
 
void ServerConnectionEstablished (Ptr< const ThreeGppHttpServer >, Ptr< Socket >)
 
void ServerTx (Ptr< const Packet > packet)
 

Function Documentation

◆ ClientEmbeddedObjectReceived()

void ClientEmbeddedObjectReceived ( Ptr< const ThreeGppHttpClient ,
Ptr< const Packet packet 
)

◆ ClientMainObjectReceived()

void ClientMainObjectReceived ( Ptr< const ThreeGppHttpClient ,
Ptr< const Packet packet 
)

◆ ClientPageReceived()

void ClientPageReceived ( Ptr< const ThreeGppHttpClient client,
const Time time,
uint32_t  numObjects,
uint32_t  numBytes 
)

Definition at line 97 of file three-gpp-http-example.cc.

References ns3::Time::As(), brite-generic-example::client, ns3::Time::MS, and NS_LOG_INFO.

+ Here is the call graph for this function:

◆ ClientRx()

void ClientRx ( Ptr< const Packet packet,
const Address address 
)

Definition at line 55 of file three-gpp-http-example.cc.

References first::address, ns3::Packet::GetSize(), and NS_LOG_INFO.

+ Here is the call graph for this function:

◆ EmbeddedObjectGenerated()

void EmbeddedObjectGenerated ( uint32_t  size)

Definition at line 43 of file three-gpp-http-example.cc.

References NS_LOG_INFO.

◆ MainObjectGenerated()

void MainObjectGenerated ( uint32_t  size)

Definition at line 37 of file three-gpp-http-example.cc.

References NS_LOG_INFO.

◆ ServerConnectionEstablished()

void ServerConnectionEstablished ( Ptr< const ThreeGppHttpServer ,
Ptr< Socket  
)

Definition at line 31 of file three-gpp-http-example.cc.

References NS_LOG_INFO.

◆ ServerTx()

void ServerTx ( Ptr< const Packet packet)

Definition at line 49 of file three-gpp-http-example.cc.

References ns3::Packet::GetSize(), and NS_LOG_INFO.

+ Here is the call graph for this function: