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

#include <TailDrop.h>

Inheritance diagram for TailDrop:
RMTMaxQBase

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
RMTQMonitorBaseqMonPolicy
 
AddressComparatorBaseaddrComparator
 
RMTModuleAllocatorrmtAllocator
 

Additional Inherited Members

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

Detailed Description

Definition at line 30 of file TailDrop.h.

Member Function Documentation

void TailDrop::finish ( )

Definition at line 43 of file TailDrop.cc.

bool TailDrop::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 30 of file TailDrop.cc.

Member Data Documentation

std::map<RMTQueue*, long> TailDrop::accepted
protected

Definition at line 37 of file TailDrop.h.

Referenced by finish(), and run().

std::map<RMTQueue*, long> TailDrop::count
protected

Definition at line 37 of file TailDrop.h.

Referenced by finish(), and run().

std::map<RMTQueue*, long> TailDrop::drop
protected

Definition at line 37 of file TailDrop.h.

Referenced by finish(), and run().


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