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

#include <DumbMaxQ.h>

Inheritance diagram for DumbMaxQ:
RMTMaxQBase

Public Member Functions

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

Protected Attributes

SmartMonitormonitor
 
std::map< std::string, unsigned int > dropIn
 
std::map< std::string, unsigned int > dropOut
 
std::map< std::string, unsigned int > okIn
 
std::map< std::string, unsigned int > okOut
 
std::map< std::string, unsigned long > dDropIn
 
std::map< std::string, unsigned long > dDropOut
 
std::map< std::string, unsigned long > dOkIn
 
std::map< std::string, unsigned long > dOkOut
 
- Protected Attributes inherited from RMTMaxQBase
RMTQMonitorBaseqMonPolicy
 
AddressComparatorBaseaddrComparator
 
RMTModuleAllocatorrmtAllocator
 

Additional Inherited Members

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

Detailed Description

Definition at line 31 of file DumbMaxQ.h.

Member Function Documentation

void DumbMaxQ::finish ( )

Definition at line 86 of file DumbMaxQ.cc.

void DumbMaxQ::onPolicyInit ( )
virtual

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

Reimplemented from RMTMaxQBase.

Definition at line 29 of file DumbMaxQ.cc.

bool DumbMaxQ::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 38 of file DumbMaxQ.cc.

Member Data Documentation

std::map<std::string, unsigned long> DumbMaxQ::dDropIn
protected

Definition at line 41 of file DumbMaxQ.h.

Referenced by run().

std::map<std::string, unsigned long> DumbMaxQ::dDropOut
protected

Definition at line 41 of file DumbMaxQ.h.

Referenced by finish(), and run().

std::map<std::string, unsigned long> DumbMaxQ::dOkIn
protected

Definition at line 41 of file DumbMaxQ.h.

Referenced by run().

std::map<std::string, unsigned long> DumbMaxQ::dOkOut
protected

Definition at line 41 of file DumbMaxQ.h.

Referenced by finish(), and run().

std::map<std::string, unsigned int> DumbMaxQ::dropIn
protected

Definition at line 40 of file DumbMaxQ.h.

Referenced by run().

std::map<std::string, unsigned int> DumbMaxQ::dropOut
protected

Definition at line 40 of file DumbMaxQ.h.

Referenced by finish(), and run().

SmartMonitor* DumbMaxQ::monitor
protected

Definition at line 38 of file DumbMaxQ.h.

Referenced by onPolicyInit(), and run().

std::map<std::string, unsigned int> DumbMaxQ::okIn
protected

Definition at line 40 of file DumbMaxQ.h.

Referenced by run().

std::map<std::string, unsigned int> DumbMaxQ::okOut
protected

Definition at line 40 of file DumbMaxQ.h.

Referenced by finish(), and run().


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