Strategy implementing per-FIB entry limits. More...
#include <simple-limits.h>
Public Member Functions | |
SimpleLimits () | |
Default constructor. | |
virtual void | WillEraseTimedOutPendingInterest (Ptr< pit::Entry > pitEntry) |
Event fired just before PIT entry is removed by timeout. | |
Public Member Functions inherited from ns3::ndn::fw::BestRoute | |
BestRoute () | |
Default constructor. | |
virtual bool | DoPropagateInterest (Ptr< Face > incomingFace, Ptr< const InterestHeader > header, Ptr< const Packet > origPacket, Ptr< pit::Entry > pitEntry) |
Virtual method to perform Interest propagation according to the forwarding strategy logic. |
Static Public Member Functions | |
static TypeId | GetTypeId () |
This method returns the TypeId associated to ns3::ndn::fw::SimpleLimits. |
Protected Member Functions | |
virtual bool | TrySendOutInterest (Ptr< Face > inFace, Ptr< Face > outFace, Ptr< const InterestHeader > header, Ptr< const Packet > origPacket, Ptr< pit::Entry > pitEntry) |
Event fired before actually sending out an interest. | |
virtual void | WillSatisfyPendingInterest (Ptr< Face > inFace, Ptr< pit::Entry > pitEntry) |
Strategy implementing per-FIB entry limits.
Definition at line 36 of file simple-limits.h.
|
static |
This method returns the TypeId associated to ns3::ndn::fw::SimpleLimits.
No Attributes defined for this type.
Attributes defined in parent class ns3::ndn::fw::Nacks:
Attributes defined in parent class ns3::ndn::ForwardingStrategy:
No TraceSources defined for this type.
TraceSources defined in parent class ns3::ndn::fw::Nacks:
TraceSources defined in parent class ns3::ndn::ForwardingStrategy:
Reimplemented from ns3::ndn::fw::BestRoute.
Definition at line 50 of file simple-limits.cc.
|
protectedvirtual |
Event fired before actually sending out an interest.
If event returns false, then there is some kind of a problem (e.g., per-face limit reached)
Reimplemented from ns3::ndn::ForwardingStrategy.
Definition at line 77 of file simple-limits.cc.
References ns3::ndn::ForwardingStrategy::DidSendOutInterest().
|
virtual |
Event fired just before PIT entry is removed by timeout.
pitEntry | PIT entry to be removed |
Reimplemented from ns3::ndn::ForwardingStrategy.
Definition at line 117 of file simple-limits.cc.