INET Framework for OMNeT++/OMNEST
|
Drops packets above threshold. More...
#include <ThresholdDropper.h>
Protected Member Functions | |
virtual void | initialize () override |
virtual bool | shouldDrop (cPacket *packet) override |
Protected Member Functions inherited from inet::AlgorithmicDropperBase | |
virtual void | handleMessage (cMessage *msg) override |
virtual void | dropPacket (cPacket *packet) |
virtual void | sendOut (cPacket *packet) |
virtual int | getLength () const override |
Returns the number of frames in the queue. More... | |
virtual int | getByteLength () const override |
Returns the number of bytes in the queue. More... | |
Protected Attributes | |
int | frameCapacity |
int | byteCapacity |
Protected Attributes inherited from inet::AlgorithmicDropperBase | |
int | numGates |
std::vector< IQueueAccess * > | outQueues |
std::set< IQueueAccess * > | outQueueSet |
Additional Inherited Members | |
Public Member Functions inherited from inet::AlgorithmicDropperBase | |
AlgorithmicDropperBase () | |
virtual | ~AlgorithmicDropperBase () |
Public Member Functions inherited from inet::IQueueAccess | |
virtual | ~IQueueAccess () |
Drops packets above threshold.
Resources can be shared amongst multiple queues.
|
overrideprotectedvirtual |
Reimplemented from inet::AlgorithmicDropperBase.
|
overrideprotectedvirtual |
Implements inet::AlgorithmicDropperBase.
|
protected |
Referenced by initialize(), and shouldDrop().
|
protected |
Referenced by initialize(), and shouldDrop().