INET Framework for OMNeT++/OMNEST
|
#include <VoIPStreamReceiver.h>
Classes | |
class | Connection |
Public Member Functions | |
VoIPStreamReceiver () | |
~VoIPStreamReceiver () | |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Protected Member Functions | |
virtual void | initialize (int stage) override |
virtual int | numInitStages () const override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | finish () override |
virtual void | createConnection (VoIPStreamPacket *vp) |
virtual void | checkSourceAndParameters (VoIPStreamPacket *vp) |
virtual void | closeConnection () |
virtual void | decodePacket (VoIPStreamPacket *vp) |
Protected Attributes | |
int | localPort = -1 |
simtime_t | playoutDelay |
const char * | resultFile = nullptr |
UDPSocket | socket |
Connection | curConn |
Static Protected Attributes | |
static simsignal_t | rcvdPkSignal = registerSignal("rcvdPk") |
static simsignal_t | dropPkSignal = registerSignal("dropPk") |
static simsignal_t | lostSamplesSignal = registerSignal("lostSamples") |
static simsignal_t | lostPacketsSignal = registerSignal("lostPackets") |
static simsignal_t | packetHasVoiceSignal = registerSignal("packetHasVoice") |
static simsignal_t | connStateSignal = registerSignal("connState") |
static simsignal_t | delaySignal = registerSignal("delay") |
inet::VoIPStreamReceiver::~VoIPStreamReceiver | ( | ) |
|
protectedvirtual |
Referenced by handleMessage().
|
protectedvirtual |
Referenced by finish(), and ~VoIPStreamReceiver().
|
protectedvirtual |
Referenced by handleMessage().
|
protectedvirtual |
Referenced by handleMessage().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overridevirtual |
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 |
|
staticprotected |
Referenced by closeConnection(), and createConnection().
|
protected |
Referenced by checkSourceAndParameters(), closeConnection(), createConnection(), decodePacket(), and handleMessage().
|
staticprotected |
Referenced by decodePacket().
|
staticprotected |
Referenced by handleMessage().
|
protected |
Referenced by initialize().
|
staticprotected |
Referenced by decodePacket().
|
staticprotected |
Referenced by decodePacket().
|
staticprotected |
Referenced by decodePacket().
|
protected |
Referenced by createConnection(), and initialize().
|
staticprotected |
Referenced by handleMessage().
|
protected |
Referenced by createConnection(), and initialize().
|
protected |
Referenced by initialize().