INET Framework for OMNeT++/OMNEST
|
#include <UDPBasicBurst.h>
Public Types | |
enum | ChooseDestAddrMode { ONCE = 1, PER_BURST, PER_SEND } |
Public Member Functions | |
UDPBasicBurst () | |
~UDPBasicBurst () | |
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, SEND, STOP } |
typedef std::map< int, int > | SourceSequence |
Protected Member Functions | |
virtual L3Address | chooseDestAddr () |
virtual cPacket * | createPacket () |
virtual void | processPacket (cPacket *msg) |
virtual void | generateBurst () |
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 | processSend () |
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 | |
std::vector< L3Address > | destAddresses |
ChooseDestAddrMode | chooseDestAddrMode = (ChooseDestAddrMode)0 |
simtime_t | delayLimit |
simtime_t | startTime |
simtime_t | stopTime |
int | localPort = -1 |
int | destPort = -1 |
int | destAddrRNG = -1 |
cPar * | messageLengthPar = nullptr |
cPar * | burstDurationPar = nullptr |
cPar * | sleepDurationPar = nullptr |
cPar * | sendIntervalPar = nullptr |
UDPSocket | socket |
L3Address | destAddr |
SourceSequence | sourceSequence |
cMessage * | timerNext = nullptr |
simtime_t | nextPkt |
simtime_t | nextBurst |
simtime_t | nextSleep |
bool | isSource = false |
bool | activeBurst = false |
bool | haveSleepDuration = false |
int | numSent = 0 |
int | numReceived = 0 |
int | numDeleted = 0 |
int | numDuplicated = 0 |
Protected Attributes inherited from inet::OperationalBase | |
bool | isOperational |
simtime_t | lastChange |
Static Protected Attributes | |
static int | counter |
static simsignal_t | sentPkSignal = registerSignal("sentPk") |
static simsignal_t | rcvdPkSignal = registerSignal("rcvdPk") |
static simsignal_t | outOfOrderPkSignal = registerSignal("outOfOrderPk") |
static simsignal_t | dropPkSignal = registerSignal("dropPk") |
UDP application.
See NED for more info.
|
protected |
|
protected |
inet::UDPBasicBurst::~UDPBasicBurst | ( | ) |
|
protectedvirtual |
Referenced by generateBurst(), and processStart().
|
protectedvirtual |
Referenced by generateBurst().
|
overrideprotectedvirtual |
|
protectedvirtual |
Referenced by processSend().
|
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(), and processStart().
|
protectedvirtual |
Referenced by handleMessageWhenUp().
|
protectedvirtual |
Referenced by handleMessageWhenUp().
|
overrideprotectedvirtual |
|
protected |
Referenced by generateBurst(), handleNodeCrash(), handleNodeShutdown(), and processStart().
|
protected |
Referenced by generateBurst(), and initialize().
|
protected |
Referenced by generateBurst(), initialize(), and processStart().
|
staticprotected |
Referenced by createPacket(), and initialize().
|
protected |
Referenced by initialize(), and processPacket().
|
protected |
Referenced by generateBurst(), and processStart().
|
protected |
Referenced by chooseDestAddr(), and processStart().
|
protected |
Referenced by chooseDestAddr(), and initialize().
|
protected |
Referenced by generateBurst(), and initialize().
|
staticprotected |
Referenced by processPacket().
|
protected |
|
protected |
Referenced by processSend(), and processStart().
|
protected |
Referenced by initialize(), and processStart().
|
protected |
Referenced by createPacket(), and initialize().
|
protected |
Referenced by generateBurst(), initialize(), and processStart().
|
protected |
Referenced by generateBurst(), initialize(), and processStart().
|
protected |
Referenced by generateBurst(), initialize(), and processStart().
|
protected |
Referenced by finish(), initialize(), and processPacket().
|
protected |
Referenced by initialize(), and processPacket().
|
protected |
Referenced by finish(), initialize(), processPacket(), and refreshDisplay().
|
protected |
Referenced by createPacket(), finish(), generateBurst(), initialize(), and refreshDisplay().
|
staticprotected |
Referenced by processPacket().
|
staticprotected |
Referenced by processPacket().
|
protected |
Referenced by generateBurst(), and initialize().
|
staticprotected |
Referenced by generateBurst().
|
protected |
Referenced by generateBurst(), and initialize().
|
protected |
Referenced by generateBurst(), processStart(), and processStop().
|
protected |
Referenced by processPacket().
|
protected |
Referenced by handleNodeStart(), and initialize().
|
protected |
Referenced by generateBurst(), handleNodeStart(), initialize(), and processSend().
|
protected |
Referenced by generateBurst(), handleNodeCrash(), handleNodeShutdown(), handleNodeStart(), initialize(), processStart(), and ~UDPBasicBurst().