RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <TailDrop.h>
Public Member Functions | |
virtual bool | run (RMTQueue *queue) |
void | finish () |
Public Member Functions inherited from RMTMaxQBase | |
virtual void | onQueueLengthDrop (RMTQueue *queue) |
Protected Attributes | |
std::map< RMTQueue *, long > | count |
std::map< RMTQueue *, long > | accepted |
std::map< RMTQueue *, long > | drop |
Protected Attributes inherited from RMTMaxQBase | |
RMTQMonitorBase * | qMonPolicy |
AddressComparatorBase * | addrComparator |
RMTModuleAllocator * | rmtAllocator |
Additional Inherited Members | |
Protected Member Functions inherited from RMTMaxQBase | |
virtual void | onPolicyInit () |
virtual void | handleMessage (cMessage *msg) |
void | notifySenderOfCongestion (const cPacket *pdu) |
Definition at line 30 of file TailDrop.h.
void TailDrop::finish | ( | ) |
Definition at line 43 of file TailDrop.cc.
|
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 from RMTMaxQBase.
Definition at line 30 of file TailDrop.cc.
|
protected |
Definition at line 37 of file TailDrop.h.
|
protected |
Definition at line 37 of file TailDrop.h.
|
protected |
Definition at line 37 of file TailDrop.h.