INET Framework for OMNeT++/OMNEST
|
Accepts any number of incoming connections, and discards whatever arrives on them. More...
#include <TCPSinkApp.h>
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 | refreshDisplay () const override |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
Protected Attributes | |
long | bytesRcvd |
TCPSocket | socket |
Static Protected Attributes | |
static simsignal_t | rcvdPkSignal = registerSignal("rcvdPk") |
Additional Inherited Members | |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Accepts any number of incoming connections, and discards whatever arrives on them.
|
overrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
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 |
|
overrideprotectedvirtual |
|
protected |
Referenced by handleMessage(), initialize(), and refreshDisplay().
|
staticprotected |
Referenced by handleMessage().
|
protected |
Referenced by initialize(), and refreshDisplay().