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

#include <ECNMarkerLG.h>

Inheritance diagram for ECNMarkerLG:
RMTMaxQBase

Public Member Functions

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

Public Attributes

simsignal_t sigStatECNMarker
 

Additional Inherited Members

- Protected Member Functions inherited from RMTMaxQBase
virtual void handleMessage (cMessage *msg)
 
void notifySenderOfCongestion (const cPacket *pdu)
 
- Protected Attributes inherited from RMTMaxQBase
RMTQMonitorBaseqMonPolicy
 
AddressComparatorBaseaddrComparator
 
RMTModuleAllocatorrmtAllocator
 

Detailed Description

Definition at line 31 of file ECNMarkerLG.h.

Member Function Documentation

void ECNMarkerLG::onPolicyInit ( )
virtual

A hook method invoked after the initial setup of policy module.

Reimplemented from RMTMaxQBase.

Definition at line 31 of file ECNMarkerLG.cc.

bool ECNMarkerLG::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 36 of file ECNMarkerLG.cc.

Member Data Documentation

simsignal_t ECNMarkerLG::sigStatECNMarker

Definition at line 37 of file ECNMarkerLG.h.

Referenced by onPolicyInit(), and run().


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