A Discrete-Event Network Simulator
API
ns3::ThreeGppHttpServer Class Reference

Model application which simulates the traffic of a web server. More...

#include "three-gpp-http-server.h"

+ Inheritance diagram for ns3::ThreeGppHttpServer:
+ Collaboration diagram for ns3::ThreeGppHttpServer:

Public Types

typedef void(* ConnectionEstablishedCallback) (Ptr< const ThreeGppHttpServer > httpServer, Ptr< Socket > socket)
 Callback signature for ConnectionEstablished trace source. More...
 
enum  State_t { NOT_STARTED = 0 , STARTED , STOPPED }
 The possible states of the application. More...
 
typedef void(* ThreeGppHttpObjectCallback) (uint32_t size)
 Common callback signature for MainObject and EmbeddedObject trace sources. More...
 
- Public Types inherited from ns3::Application
typedef void(* DelayAddressCallback) (const Time &delay, const Address &from)
 Common callback signature for packet delay and address. More...
 
typedef void(* StateTransitionCallback) (const std::string &oldState, const std::string &newState)
 Common signature used by callbacks to application's state transition trace source. More...
 

Public Member Functions

 ThreeGppHttpServer ()
 Creates a new instance of HTTP server application. More...
 
Ptr< SocketGetSocket () const
 Returns a pointer to the listening socket. More...
 
State_t GetState () const
 Returns the current state of the application. More...
 
std::string GetStateString () const
 Returns the current state of the application in string format. More...
 
void SetMtuSize (uint32_t mtuSize)
 Sets the maximum transmission unit (MTU) size used by the application. More...
 
- Public Member Functions inherited from ns3::Application
 Application ()
 
 ~Application () override
 
Ptr< NodeGetNode () const
 
void SetNode (Ptr< Node > node)
 
void SetStartTime (Time start)
 Specify application start time. More...
 
void SetStopTime (Time stop)
 Specify application stop time. More...
 
- Public Member Functions inherited from ns3::Object
 Object ()
 Constructor. More...
 
 ~Object () override
 Destructor. More...
 
void AggregateObject (Ptr< Object > other)
 Aggregate two Objects together. More...
 
void Dispose ()
 Dispose of this Object. More...
 
AggregateIterator GetAggregateIterator () const
 Get an iterator to the Objects aggregated to this one. More...
 
TypeId GetInstanceTypeId () const override
 Get the most derived TypeId for this Object. More...
 
template<typename T >
Ptr< T > GetObject () const
 Get a pointer to the requested aggregated Object. More...
 
template<>
Ptr< ObjectGetObject () const
 Specialization of () for objects of type ns3::Object. More...
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 Get a pointer to the requested aggregated Object by TypeId. More...
 
template<>
Ptr< ObjectGetObject (TypeId tid) const
 Specialization of (TypeId tid) for objects of type ns3::Object. More...
 
void Initialize ()
 Invoke DoInitialize on all Objects aggregated to this one. More...
 
bool IsInitialized () const
 Check if the object has been initialized. More...
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount () const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o[[maybe_unused]])
 Assignment operator. More...
 
void Ref () const
 Increment the reference count. More...
 
void Unref () const
 Decrement the reference count. More...
 
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 Virtual destructor. More...
 
void GetAttribute (std::string name, AttributeValue &value) const
 Get the value of an attribute, raising fatal errors if unsuccessful. More...
 
bool GetAttributeFailSafe (std::string name, AttributeValue &value) const
 Get the value of an attribute without raising errors. More...
 
void SetAttribute (std::string name, const AttributeValue &value)
 Set a single attribute, raising fatal errors if unsuccessful. More...
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 Set a single attribute without raising errors. More...
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 Connect a TraceSource to a Callback with a context. More...
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 Connect a TraceSource to a Callback without a context. More...
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected with a context. More...
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected without a context. More...
 

Static Public Member Functions

static std::string GetStateString (State_t state)
 Returns the given state in string format. More...
 
static TypeId GetTypeId ()
 Returns the object TypeId. More...
 
- Static Public Member Functions inherited from ns3::Application
static TypeId GetTypeId ()
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId ()
 Register this type. More...
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId ()
 Get the type ID. More...
 

Protected Member Functions

void DoDispose () override
 Destructor implementation. More...
 
void StartApplication () override
 Application specific startup code. More...
 
void StopApplication () override
 Application specific shutdown code. More...
 
- Protected Member Functions inherited from ns3::Application
void DoDispose () override
 Destructor implementation. More...
 
void DoInitialize () override
 Initialize() implementation. More...
 
- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 Copy an Object. More...
 
virtual void NotifyNewAggregate ()
 Notify all Objects aggregated to this one of a new Object being aggregated. More...
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 Complete construction of ObjectBase; invoked by derived classes. More...
 
virtual void NotifyConstructionCompleted ()
 Notifier called once the ObjectBase is fully constructed. More...
 

Private Member Functions

bool ConnectionRequestCallback (Ptr< Socket > socket, const Address &address)
 Invoked when m_initialSocket receives a connection request. More...
 
void ErrorCloseCallback (Ptr< Socket > socket)
 Invoked when a connection with a web client is terminated. More...
 
void NewConnectionCreatedCallback (Ptr< Socket > socket, const Address &address)
 Invoked when a new connection has been established. More...
 
void NormalCloseCallback (Ptr< Socket > socket)
 Invoked when a connection with a web client is terminated. More...
 
void ReceivedDataCallback (Ptr< Socket > socket)
 Invoked when m_initialSocket receives some packet data. More...
 
void SendCallback (Ptr< Socket > socket, uint32_t availableBufferSize)
 Invoked when more buffer space for transmission is added to a socket. More...
 
uint32_t ServeFromTxBuffer (Ptr< Socket > socket)
 Creates a packet out of a pending object in the Tx buffer send it over the given socket. More...
 
void ServeNewEmbeddedObject (Ptr< Socket > socket)
 Generates a new embedded object and push it into the Tx buffer. More...
 
void ServeNewMainObject (Ptr< Socket > socket)
 Generates a new main object and push it into the Tx buffer. More...
 
void SwitchToState (State_t state)
 Change the state of the server. More...
 

Private Attributes

TracedCallback< Ptr< const ThreeGppHttpServer >, Ptr< Socket > > m_connectionEstablishedTrace
 The ConnectionEstablished trace source. More...
 
TracedCallback< uint32_t > m_embeddedObjectTrace
 The EmbeddedObject trace source. More...
 
Ptr< ThreeGppHttpVariablesm_httpVariables
 The Variables attribute. More...
 
Ptr< Socketm_initialSocket
 The listening socket, for receiving connection requests from clients. More...
 
Address m_localAddress
 The LocalAddress attribute. More...
 
uint16_t m_localPort
 The LocalPort attribute. More...
 
TracedCallback< uint32_t > m_mainObjectTrace
 The MainObject trace source. More...
 
uint32_t m_mtuSize
 The Mtu attribute. More...
 
TracedCallback< const Time &, const Address & > m_rxDelayTrace
 The RxDelay trace source. More...
 
TracedCallback< Ptr< const Packet >, const Address & > m_rxTrace
 The Rx trace source. More...
 
State_t m_state
 The current state of the client application. Begins with NOT_STARTED. More...
 
TracedCallback< const std::string &, const std::string & > m_stateTransitionTrace
 The StateTransition trace source. More...
 
Ptr< ThreeGppHttpServerTxBufferm_txBuffer
 Pointer to the transmission buffer. More...
 
TracedCallback< Ptr< const Packet > > m_txTrace
 The Tx trace source. More...
 

Additional Inherited Members

- Protected Attributes inherited from ns3::Application
Ptr< Nodem_node
 The node that this application is installed on. More...
 
EventId m_startEvent
 The event that will fire at m_startTime to start the application. More...
 
Time m_startTime
 The simulation time that the application will start. More...
 
EventId m_stopEvent
 The event that will fire at m_stopTime to end the application. More...
 
Time m_stopTime
 The simulation time that the application will end. More...
 

Detailed Description

Model application which simulates the traffic of a web server.

This application works in conjunction with ThreeGppHttpClient applications.

The application works by responding to requests. Each request is a small packet of data which contains ThreeGppHttpHeader. The value of the content type field of the header determines the type of object that the client is requesting. The possible type is either a main object or an embedded object.

The application is responsible to generate the right type of object and send it back to the client. The size of each object to be sent is randomly determined (see ThreeGppHttpVariables). Each object may be sent as multiple packets due to limited socket buffer space.

To assist with the transmission, the application maintains several instances of ThreeGppHttpServerTxBuffer. Each instance keeps track of the object type to be served and the number of bytes left to be sent.

The application accepts connection request from clients. Every connection is kept open until the client disconnects.

Definition at line 68 of file three-gpp-http-server.h.

Member Typedef Documentation

◆ ConnectionEstablishedCallback

typedef void(* ns3::ThreeGppHttpServer::ConnectionEstablishedCallback) (Ptr< const ThreeGppHttpServer > httpServer, Ptr< Socket > socket)

Callback signature for ConnectionEstablished trace source.

Parameters
httpServerPointer to this instance of ThreeGppHttpServer, which is where the trace originated.
socketPointer to the socket where the connection is established.

Definition at line 147 of file three-gpp-http-server.h.

◆ ThreeGppHttpObjectCallback

typedef void(* ns3::ThreeGppHttpServer::ThreeGppHttpObjectCallback) (uint32_t size)

Common callback signature for MainObject and EmbeddedObject trace sources.

Parameters
sizeSize of the generated object in bytes.

Definition at line 139 of file three-gpp-http-server.h.

Member Enumeration Documentation

◆ State_t

The possible states of the application.

Enumerator
NOT_STARTED 

Before StartApplication() is invoked.

STARTED 

Passively listening and responding to requests.

STOPPED 

After StopApplication() is invoked.

Definition at line 108 of file three-gpp-http-server.h.

Constructor & Destructor Documentation

◆ ThreeGppHttpServer()

ns3::ThreeGppHttpServer::ThreeGppHttpServer ( )

Creates a new instance of HTTP server application.

After creation, the application must be further configured through attributes. To avoid having to do this process manually, please use ThreeGppHttpServerHelper.

Upon creation, the application randomly determines the MTU size that it will use (either 536 or 1460 bytes). The chosen size will be used while creating the listener socket.

Definition at line 47 of file three-gpp-http-server.cc.

References m_httpVariables, m_mtuSize, NS_LOG_FUNCTION, and NS_LOG_INFO.

Member Function Documentation

◆ ConnectionRequestCallback()

bool ns3::ThreeGppHttpServer::ConnectionRequestCallback ( Ptr< Socket socket,
const Address address 
)
private

Invoked when m_initialSocket receives a connection request.

Parameters
socketPointer to the socket where the event originates from.
addressThe address of the remote client where the connection request comes from.
Returns
Always true, to indicate to the other end that the connection request is accepted.

Definition at line 279 of file three-gpp-http-server.cc.

References first::address, and NS_LOG_FUNCTION.

Referenced by StartApplication().

+ Here is the caller graph for this function:

◆ DoDispose()

void ns3::ThreeGppHttpServer::DoDispose ( void  )
overrideprotectedvirtual

Destructor implementation.

This method is called by Dispose() or by the Object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overridden version of this method and chain up to their parent's implementation once they are done. i.e, for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose() method.

It is safe to call GetObject() from within this method.

Reimplemented from ns3::Object.

Definition at line 170 of file three-gpp-http-server.cc.

References ns3::Application::DoDispose(), ns3::Simulator::IsFinished(), NS_LOG_FUNCTION, and StopApplication().

+ Here is the call graph for this function:

◆ ErrorCloseCallback()

void ns3::ThreeGppHttpServer::ErrorCloseCallback ( Ptr< Socket socket)
private

Invoked when a connection with a web client is terminated.

The corresponding socket will be removed from Tx buffer.

Parameters
socketPointer to the socket where the event originates from.

Definition at line 348 of file three-gpp-http-server.cc.

References m_initialSocket, m_state, m_txBuffer, NS_FATAL_ERROR, NS_LOG_FUNCTION, and STARTED.

Referenced by NewConnectionCreatedCallback(), and StartApplication().

+ Here is the caller graph for this function:

◆ GetSocket()

Ptr< Socket > ns3::ThreeGppHttpServer::GetSocket ( void  ) const

Returns a pointer to the listening socket.

Returns
Pointer to the listening socket

Definition at line 134 of file three-gpp-http-server.cc.

References m_initialSocket.

◆ GetState()

ThreeGppHttpServer::State_t ns3::ThreeGppHttpServer::GetState ( ) const

Returns the current state of the application.

Returns
The current state of the application.

Definition at line 140 of file three-gpp-http-server.cc.

References m_state.

◆ GetStateString() [1/2]

std::string ns3::ThreeGppHttpServer::GetStateString ( ) const

Returns the current state of the application in string format.

Returns
The current state of the application in string format.

Definition at line 146 of file three-gpp-http-server.cc.

References m_state.

Referenced by StartApplication(), and SwitchToState().

+ Here is the caller graph for this function:

◆ GetStateString() [2/2]

std::string ns3::ThreeGppHttpServer::GetStateString ( ThreeGppHttpServer::State_t  state)
static

Returns the given state in string format.

Parameters
stateAn arbitrary state of an application.
Returns
The given state equivalently expressed in string format.

Definition at line 153 of file three-gpp-http-server.cc.

References NOT_STARTED, NS_FATAL_ERROR, STARTED, and STOPPED.

◆ GetTypeId()

◆ NewConnectionCreatedCallback()

void ns3::ThreeGppHttpServer::NewConnectionCreatedCallback ( Ptr< Socket socket,
const Address address 
)
private

Invoked when a new connection has been established.

Parameters
socketPointer to the socket that maintains the connection to the remote client. This socket will be saved to the Tx buffer.
addressThe address the connection is incoming from.

Definition at line 286 of file three-gpp-http-server.cc.

References first::address, ErrorCloseCallback(), m_connectionEstablishedTrace, m_txBuffer, ns3::MakeCallback(), NormalCloseCallback(), NS_LOG_FUNCTION, ReceivedDataCallback(), SendCallback(), ns3::Socket::SetCloseCallbacks(), ns3::Socket::SetRecvCallback(), and ns3::Socket::SetSendCallback().

Referenced by StartApplication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NormalCloseCallback()

void ns3::ThreeGppHttpServer::NormalCloseCallback ( Ptr< Socket socket)
private

Invoked when a connection with a web client is terminated.

The corresponding socket will be removed from Tx buffer.

Parameters
socketPointer to the socket where the event originates from.

Definition at line 312 of file three-gpp-http-server.cc.

References m_initialSocket, m_state, m_txBuffer, NS_FATAL_ERROR, NS_LOG_FUNCTION, ns3::Socket::ShutdownSend(), and STARTED.

Referenced by NewConnectionCreatedCallback(), and StartApplication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReceivedDataCallback()

void ns3::ThreeGppHttpServer::ReceivedDataCallback ( Ptr< Socket socket)
private

◆ SendCallback()

void ns3::ThreeGppHttpServer::SendCallback ( Ptr< Socket socket,
uint32_t  availableBufferSize 
)
private

Invoked when more buffer space for transmission is added to a socket.

The method will invoke ServeFromTxBuffer() to start some transmission using the socket.

Parameters
socketPointer to the socket where the event originates from.
availableBufferSizeThe number of bytes available in the socket's transmission buffer.

Definition at line 445 of file three-gpp-http-server.cc.

References ns3::ThreeGppHttpHeader::EMBEDDED_OBJECT, m_txBuffer, ns3::ThreeGppHttpHeader::MAIN_OBJECT, NS_FATAL_ERROR, NS_LOG_FUNCTION, NS_LOG_INFO, and ServeFromTxBuffer().

Referenced by NewConnectionCreatedCallback(), and StartApplication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ServeFromTxBuffer()

uint32_t ns3::ThreeGppHttpServer::ServeFromTxBuffer ( Ptr< Socket socket)
private

Creates a packet out of a pending object in the Tx buffer send it over the given socket.

If the socket capacity is smaller than the object size, then the method only convert a part of the object into a packet.

ThreeGppHttpHeader will be attached in the beginning of each application layer packet - if a packet is split, then then the following parts will not have the header. The method fires the Tx trace source after sending the packet to the socket.

This method is invoked when a new object is generated by ServeNewMainObject() or ServeNewEmbeddedObject(). It's also invoked when the socket informs (through SendCallback()) that more buffer space for transmission has become available.

Parameters
socketPointer to the socket which is associated with the destination client.
Returns
Size of the packet sent (in bytes).

Definition at line 539 of file three-gpp-http-server.cc.

References ns3::Packet::AddHeader(), ns3::ThreeGppHttpHeader::GetClientTs(), ns3::Socket::GetErrno(), ns3::ThreeGppHttpHeader::GetSerializedSize(), ns3::Socket::GetTxAvailable(), m_txBuffer, m_txTrace, min, ns3::Simulator::Now(), NS_LOG_DEBUG, NS_LOG_FUNCTION, NS_LOG_INFO, NS_LOG_LOGIC, packetSize, ns3::Time::S, ns3::Socket::Send(), ns3::ThreeGppHttpHeader::SetClientTs(), ns3::ThreeGppHttpHeader::SetContentLength(), ns3::ThreeGppHttpHeader::SetContentType(), and ns3::ThreeGppHttpHeader::SetServerTs().

Referenced by SendCallback(), ServeNewEmbeddedObject(), and ServeNewMainObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ServeNewEmbeddedObject()

void ns3::ThreeGppHttpServer::ServeNewEmbeddedObject ( Ptr< Socket socket)
private

Generates a new embedded object and push it into the Tx buffer.

The size of the object is randomly determined by ThreeGppHttpVariables. Fires the EmbeddedObject trace source. It then immediately triggers ServeFromTxBuffer() to send the object.

Parameters
socketPointer to the socket which is associated with the destination client.

Definition at line 517 of file three-gpp-http-server.cc.

References ns3::ThreeGppHttpHeader::EMBEDDED_OBJECT, m_embeddedObjectTrace, m_httpVariables, m_txBuffer, NS_LOG_FUNCTION, NS_LOG_INFO, and ServeFromTxBuffer().

Referenced by ReceivedDataCallback().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ServeNewMainObject()

void ns3::ThreeGppHttpServer::ServeNewMainObject ( Ptr< Socket socket)
private

Generates a new main object and push it into the Tx buffer.

The size of the object is randomly determined by ThreeGppHttpVariables. Fires the MainObject trace source. It then immediately triggers ServeFromTxBuffer() to send the object.

Parameters
socketPointer to the socket which is associated with the destination client.

Definition at line 495 of file three-gpp-http-server.cc.

References m_httpVariables, m_mainObjectTrace, m_txBuffer, ns3::ThreeGppHttpHeader::MAIN_OBJECT, NS_LOG_FUNCTION, NS_LOG_INFO, and ServeFromTxBuffer().

Referenced by ReceivedDataCallback().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetMtuSize()

void ns3::ThreeGppHttpServer::SetMtuSize ( uint32_t  mtuSize)

Sets the maximum transmission unit (MTU) size used by the application.

This overrides the MTU size which is randomly determined once the application is created. Values other than the standard 536 and 1460 bytes can be set using this method.

Parameters
mtuSizeMTU size in bytes.

Definition at line 127 of file three-gpp-http-server.cc.

References m_mtuSize, and NS_LOG_FUNCTION.

◆ StartApplication()

◆ StopApplication()

void ns3::ThreeGppHttpServer::StopApplication ( void  )
overrideprotectedvirtual

Application specific shutdown code.

The StopApplication method is called at the stop time specified by Stop This method should be overridden by all or most application subclasses.

Reimplemented from ns3::Application.

Definition at line 256 of file three-gpp-http-server.cc.

References ns3::Socket::Close(), m_initialSocket, m_txBuffer, ns3::MakeNullCallback(), NS_LOG_FUNCTION, ns3::Socket::SetAcceptCallback(), ns3::Socket::SetCloseCallbacks(), ns3::Socket::SetRecvCallback(), ns3::Socket::SetSendCallback(), STOPPED, and SwitchToState().

Referenced by DoDispose().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SwitchToState()

void ns3::ThreeGppHttpServer::SwitchToState ( ThreeGppHttpServer::State_t  state)
private

Change the state of the server.

Fires the StateTransition trace source.

Parameters
stateThe new state.

Definition at line 616 of file three-gpp-http-server.cc.

References GetStateString(), m_state, m_stateTransitionTrace, NS_LOG_FUNCTION, and NS_LOG_INFO.

Referenced by StartApplication(), and StopApplication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_connectionEstablishedTrace

TracedCallback<Ptr<const ThreeGppHttpServer>, Ptr<Socket> > ns3::ThreeGppHttpServer::m_connectionEstablishedTrace
private

The ConnectionEstablished trace source.

Definition at line 281 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and NewConnectionCreatedCallback().

◆ m_embeddedObjectTrace

TracedCallback<uint32_t> ns3::ThreeGppHttpServer::m_embeddedObjectTrace
private

The EmbeddedObject trace source.

Definition at line 285 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and ServeNewEmbeddedObject().

◆ m_httpVariables

Ptr<ThreeGppHttpVariables> ns3::ThreeGppHttpServer::m_httpVariables
private

◆ m_initialSocket

Ptr<Socket> ns3::ThreeGppHttpServer::m_initialSocket
private

The listening socket, for receiving connection requests from clients.

Definition at line 263 of file three-gpp-http-server.h.

Referenced by ErrorCloseCallback(), GetSocket(), NormalCloseCallback(), StartApplication(), and StopApplication().

◆ m_localAddress

Address ns3::ThreeGppHttpServer::m_localAddress
private

The LocalAddress attribute.

Definition at line 272 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and StartApplication().

◆ m_localPort

uint16_t ns3::ThreeGppHttpServer::m_localPort
private

The LocalPort attribute.

Definition at line 274 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and StartApplication().

◆ m_mainObjectTrace

TracedCallback<uint32_t> ns3::ThreeGppHttpServer::m_mainObjectTrace
private

The MainObject trace source.

Definition at line 283 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and ServeNewMainObject().

◆ m_mtuSize

uint32_t ns3::ThreeGppHttpServer::m_mtuSize
private

The Mtu attribute.

Definition at line 276 of file three-gpp-http-server.h.

Referenced by ThreeGppHttpServer(), GetTypeId(), SetMtuSize(), and StartApplication().

◆ m_rxDelayTrace

TracedCallback<const Time&, const Address&> ns3::ThreeGppHttpServer::m_rxDelayTrace
private

The RxDelay trace source.

Definition at line 291 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and ReceivedDataCallback().

◆ m_rxTrace

TracedCallback<Ptr<const Packet>, const Address&> ns3::ThreeGppHttpServer::m_rxTrace
private

The Rx trace source.

Definition at line 289 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and ReceivedDataCallback().

◆ m_state

State_t ns3::ThreeGppHttpServer::m_state
private

The current state of the client application. Begins with NOT_STARTED.

Definition at line 261 of file three-gpp-http-server.h.

Referenced by ErrorCloseCallback(), GetState(), GetStateString(), NormalCloseCallback(), StartApplication(), and SwitchToState().

◆ m_stateTransitionTrace

TracedCallback<const std::string&, const std::string&> ns3::ThreeGppHttpServer::m_stateTransitionTrace
private

The StateTransition trace source.

Definition at line 293 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and SwitchToState().

◆ m_txBuffer

◆ m_txTrace

TracedCallback<Ptr<const Packet> > ns3::ThreeGppHttpServer::m_txTrace
private

The Tx trace source.

Definition at line 287 of file three-gpp-http-server.h.

Referenced by GetTypeId(), and ServeFromTxBuffer().


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