INET Framework for OMNeT++/OMNEST
|
A module that just deletes every packet it receives, and collects basic statistics (packet count, bit count, packet rate, bit rate). More...
#include <Sink.h>
Protected Member Functions | |
virtual void | initialize () override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | finish () override |
Protected Attributes | |
int | numPackets |
long | numBits |
double | throughput |
double | packetPerSec |
Static Protected Attributes | |
static simsignal_t | rcvdPkSignal = registerSignal("rcvdPk") |
A module that just deletes every packet it receives, and collects basic statistics (packet count, bit count, packet rate, bit rate).
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |
Referenced by handleMessage(), and initialize().
|
protected |
Referenced by handleMessage(), and initialize().
|
protected |
Referenced by finish(), handleMessage(), and initialize().
|
staticprotected |
Referenced by handleMessage().
|
protected |
Referenced by finish(), handleMessage(), and initialize().