RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <RMTMaxQBase.h>
Public Member Functions | |
virtual bool | run (RMTQueue *queue) |
virtual void | onQueueLengthDrop (RMTQueue *queue) |
Protected Member Functions | |
virtual void | onPolicyInit () |
virtual void | handleMessage (cMessage *msg) |
void | notifySenderOfCongestion (const cPacket *pdu) |
Protected Attributes | |
RMTQMonitorBase * | qMonPolicy |
AddressComparatorBase * | addrComparator |
RMTModuleAllocator * | rmtAllocator |
Private Member Functions | |
void | initialize () |
Private Attributes | |
simsignal_t | sigRMTSDReq |
Noop base class for the RMT max queue policy. This policy decides what to do when a queue is overflowing its threshold.
Definition at line 39 of file RMTMaxQBase.h.
|
protectedvirtual |
Handler for OMNeT++ module messages (probably not of much use here).
Definition at line 47 of file RMTMaxQBase.cc.
|
private |
Module initialization routine setting up parameters for GUI. Inherited policies should be using onPolicyInit() instead.
Definition at line 28 of file RMTMaxQBase.cc.
|
protected |
Send CDAP congestion notification to the PDU sender via RIBd.
pdu | pointer to PDU |
Definition at line 61 of file RMTMaxQBase.cc.
Referenced by REDUpstreamNotifier::run(), and UpstreamNotifier::run().
|
protectedvirtual |
A hook method invoked after the initial setup of policy module.
Reimplemented in ReadRateReducer, REDDropper, DumbMaxQ, ECNMarkerLG, UpstreamNotifier, and REDUpstreamNotifier.
Definition at line 43 of file RMTMaxQBase.cc.
Referenced by initialize().
|
virtual |
A hook method invoked when a queue length drops back under its threshold.
queue | pointer to the queue |
Reimplemented in ReadRateReducer.
Definition at line 57 of file RMTMaxQBase.cc.
Referenced by RMT::postQueueDeparture().
|
virtual |
A hook method invoked when a queue length is greater or equal to its threshold. Makes a decision about whether to drop the arrived PDU.
queue | pointer to the queue |
Reimplemented in DumbMaxQ, ECNMarkerLG, REDDropper, ReadRateReducer, TailDrop, ECNMarker, UpstreamNotifier, and REDUpstreamNotifier.
Definition at line 52 of file RMTMaxQBase.cc.
Referenced by RMT::postQueueArrival().
|
protected |
Pointer to an address comparator module.
Definition at line 85 of file RMTMaxQBase.h.
Referenced by initialize().
|
protected |
Pointer to the monitoring policy module.
Definition at line 80 of file RMTMaxQBase.h.
Referenced by initialize(), DumbMaxQ::onPolicyInit(), and REDDropper::onPolicyInit().
|
protected |
Pointer to the RMT allocator module (also providing queue<->port mappings).
Definition at line 90 of file RMTMaxQBase.h.
Referenced by initialize().
|
private |
Congestion notifier.
Definition at line 103 of file RMTMaxQBase.h.
Referenced by initialize(), and notifySenderOfCongestion().