INET Framework for OMNeT++/OMNEST
|
Consumes and prints packets received from the UDP module. More...
#include <UDPSink.h>
Public Member Functions | |
UDPSink () | |
virtual | ~UDPSink () |
Public Member Functions inherited from inet::ApplicationBase | |
ApplicationBase () | |
Public Member Functions inherited from inet::OperationalBase | |
OperationalBase () | |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Protected Types | |
enum | SelfMsgKinds { START = 1, STOP } |
Protected Member Functions | |
virtual void | processPacket (cPacket *msg) |
virtual void | setSocketOptions () |
virtual int | numInitStages () const override |
virtual void | initialize (int stage) override |
virtual void | handleMessageWhenUp (cMessage *msg) override |
virtual void | finish () override |
virtual void | refreshDisplay () const override |
virtual void | processStart () |
virtual void | processStop () |
virtual bool | handleNodeStart (IDoneCallback *doneCallback) override |
virtual bool | handleNodeShutdown (IDoneCallback *doneCallback) override |
virtual void | handleNodeCrash () override |
Protected Member Functions inherited from inet::ApplicationBase | |
virtual bool | isInitializeStage (int stage) override |
virtual bool | isNodeStartStage (int stage) override |
virtual bool | isNodeShutdownStage (int stage) override |
Protected Member Functions inherited from inet::OperationalBase | |
virtual void | handleMessage (cMessage *msg) override |
virtual void | handleMessageWhenDown (cMessage *msg) |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
virtual void | setOperational (bool isOperational) |
Protected Attributes | |
UDPSocket | socket |
int | localPort = -1 |
L3Address | multicastGroup |
simtime_t | startTime |
simtime_t | stopTime |
cMessage * | selfMsg = nullptr |
int | numReceived = 0 |
Protected Attributes inherited from inet::OperationalBase | |
bool | isOperational |
simtime_t | lastChange |
Static Protected Attributes | |
static simsignal_t | rcvdPkSignal = registerSignal("rcvdPk") |
Consumes and prints packets received from the UDP module.
See NED for more info.
|
protected |
|
virtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements inet::OperationalBase.
|
overrideprotectedvirtual |
Reimplemented from inet::OperationalBase.
|
overrideprotectedvirtual |
Reimplemented from inet::OperationalBase.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::OperationalBase.
|
inlineoverrideprotectedvirtual |
Reimplemented from inet::OperationalBase.
|
protectedvirtual |
Referenced by handleMessageWhenUp().
|
protectedvirtual |
Referenced by handleMessageWhenUp().
|
protectedvirtual |
Referenced by handleMessageWhenUp().
|
overrideprotectedvirtual |
|
protectedvirtual |
Referenced by processStart().
|
protected |
Referenced by initialize(), and processStart().
|
protected |
Referenced by processStop(), and setSocketOptions().
|
protected |
Referenced by finish(), initialize(), processPacket(), and refreshDisplay().
|
staticprotected |
Referenced by processPacket().
|
protected |
Referenced by handleMessageWhenUp(), handleNodeCrash(), handleNodeShutdown(), handleNodeStart(), initialize(), processStart(), and ~UDPSink().
|
protected |
Referenced by processStart(), processStop(), and setSocketOptions().
|
protected |
Referenced by handleNodeStart(), and initialize().
|
protected |
Referenced by handleNodeStart(), initialize(), and processStart().