INET Framework for OMNeT++/OMNEST
|
This class can be used as a meter in an ITrafficConditioner. More...
#include <SingleRateThreeColorMeter.h>
Public Member Functions | |
SingleRateThreeColorMeter () | |
Protected Member Functions | |
virtual int | numInitStages () const override |
virtual void | initialize (int stage) override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | refreshDisplay () const override |
virtual int | meterPacket (cPacket *packet) |
Protected Attributes | |
double | CIR = NaN |
long | CBS = 0 |
long | EBS = 0 |
bool | colorAwareMode = false |
long | Tc = 0 |
long | Te = 0 |
simtime_t | lastUpdateTime |
int | numRcvd = 0 |
int | numYellow = 0 |
int | numRed = 0 |
This class can be used as a meter in an ITrafficConditioner.
It marks the packets according to three parameters, Committed Information Rate (CIR), Committed Burst Size (CBS), and Excess Burst Size (EBS), to be either green, yellow or red.
See RFC 2697.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protectedvirtual |
|
inlineoverrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |