RINASim  October 2016
Documentation of framework for OMNeT++
ECNMarker Class Reference

#include <ECNMarker.h>

Inheritance diagram for ECNMarker:
RMTMaxQBase

Public Member Functions

bool run (RMTQueue *queue)
 
- Public Member Functions inherited from RMTMaxQBase
virtual void onQueueLengthDrop (RMTQueue *queue)
 

Additional Inherited Members

- Protected Member Functions inherited from RMTMaxQBase
virtual void onPolicyInit ()
 
virtual void handleMessage (cMessage *msg)
 
void notifySenderOfCongestion (const cPacket *pdu)
 
- Protected Attributes inherited from RMTMaxQBase
RMTQMonitorBase * qMonPolicy
 
AddressComparatorBase * addrComparator
 
RMTModuleAllocator * rmtAllocator
 

Detailed Description

Definition at line 29 of file ECNMarker.h.

Member Function Documentation

bool ECNMarker::run ( RMTQueue *  queue)
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.

Parameters
queuepointer to the queue
Returns
true if the PDU should be dropped, false otherwise

Reimplemented from RMTMaxQBase.

Definition at line 28 of file ECNMarker.cc.


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