INET Framework for OMNeT++/OMNEST
|
Consumes and prints packets received from the IP module. More...
#include <IPvXTrafSink.h>
Protected Member Functions | |
virtual void | printPacket (cPacket *msg) |
virtual void | processPacket (cPacket *msg) |
virtual void | initialize (int stage) override |
virtual int | numInitStages () const override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | refreshDisplay () const override |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
Protected Attributes | |
int | numReceived |
bool | isOperational |
Static Protected Attributes | |
static simsignal_t | rcvdPkSignal = registerSignal("rcvdPk") |
Additional Inherited Members | |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Consumes and prints packets received from the IP module.
See NED for more info.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Perform one stage of a lifecycle operation.
Processing may be done entirely within this method, or may be a longer process that involves nonzero simulation time or several events, and is triggered by this method call.
Return value: true = "done"; false = "not yet done, will invoke doneCallback when done"
Implements inet::ILifecycle.
|
overrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
protectedvirtual |
Referenced by processPacket().
|
protectedvirtual |
Referenced by handleMessage().
|
overrideprotectedvirtual |
|
protected |
Referenced by handleMessage(), handleOperationStage(), and initialize().
|
protected |
Referenced by initialize(), processPacket(), and refreshDisplay().
|
staticprotected |
Referenced by processPacket().