NS-3 based Named Data Networking (NDN) simulator
ndnSIM: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ns3::ndn::pit::OutgoingFace Struct Reference

PIT state component for each outgoing interest. More...

#include <ndn-pit-entry-outgoing-face.h>

Public Member Functions

 OutgoingFace (Ptr< Face > face)
 Constructor to create PitEntryOutgoingFace. More...
 
 OutgoingFace ()
 Default constructor, necessary for Python bindings, but should not be used anywhere else.
 
OutgoingFaceoperator= (const OutgoingFace &other)
 Copy operator.
 
void UpdateOnRetransmit ()
 Update outgoing entry upon retransmission.
 
bool operator== (const OutgoingFace &dst)
 Compare to PitEntryOutgoingFace.
 
bool operator== (Ptr< Face > face)
 Compare PitEntryOutgoingFace with Face.
 
bool operator< (const OutgoingFace &m) const
 Comparison operator used by boost::multi_index::identity<>
 

Public Attributes

Ptr< Facem_face
 face of the outgoing Interest
 
Time m_sendTime
 time when the first outgoing interest is sent (for RTT measurements) More...
 
uint32_t m_retxCount
 number of retransmission
 
bool m_waitingInVain
 when flag is set, we do not expect data for this interest, only a small hope that it will happen
 

Detailed Description

PIT state component for each outgoing interest.

Definition at line 37 of file ndn-pit-entry-outgoing-face.h.

Constructor & Destructor Documentation

ns3::ndn::pit::OutgoingFace::OutgoingFace ( Ptr< Face face)

Constructor to create PitEntryOutgoingFace.

Parameters
faceface of the outgoing interest

Definition at line 29 of file ndn-pit-entry-outgoing-face.cc.

Member Data Documentation

Time ns3::ndn::pit::OutgoingFace::m_sendTime

time when the first outgoing interest is sent (for RTT measurements)

Todo:
handle problem of retransmitted interests... Probably, we should include something similar to TimeStamp TCP option for retransmitted (i.e., only lost interests will suffer)

Definition at line 40 of file ndn-pit-entry-outgoing-face.h.

Referenced by operator=(), and UpdateOnRetransmit().


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