A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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 
)

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

References ns3::ThreeGppHttpHeader::EMBEDDED_OBJECT, ns3::ThreeGppHttpHeader::GetContentLength(), ns3::ThreeGppHttpHeader::GetContentType(), and NS_LOG_INFO.

+ Here is the call graph for this function:

◆ ClientMainObjectReceived()

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

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

References ns3::ThreeGppHttpHeader::GetContentLength(), ns3::ThreeGppHttpHeader::GetContentType(), ns3::ThreeGppHttpHeader::MAIN_OBJECT, and NS_LOG_INFO.

+ Here is the call graph for this function:

◆ 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(), 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 NS_LOG_INFO.

◆ 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 NS_LOG_INFO.