MamDataCollectorApp

Description

Functions

registerSignal

simsignal_t dataDelaySignal = registerSignal("dataDelay");

registerSignal

simsignal_t uniqueDataCollectedSignal = registerSignal("dataLoad");

~MamDataCollectorApp

virtual ~MamDataCollectorApp();

processPacket

virtual void processPacket(Packet *msg);

setSocketOptions

virtual void setSocketOptions();

initialize

virtual void initialize(int stage) override;

handleMessageWhenUp

virtual void handleMessageWhenUp(cMessage *msg) override;

finish

virtual void finish() override;

refreshDisplay

virtual void refreshDisplay() const override;

socketDataArrived

virtual void socketDataArrived(UdpSocket *socket, Packet *packet) override;

socketErrorArrived

virtual void socketErrorArrived(UdpSocket *socket, Indication *indication) override;

socketClosed

virtual void socketClosed(UdpSocket *socket) override;

processStart

virtual void processStart();

processStop

virtual void processStop();

processDiscovery

virtual void processDiscovery();

handleStartOperation

virtual void handleStartOperation(LifecycleOperation *operation) override;

handleStopOperation

virtual void handleStopOperation(LifecycleOperation *operation) override;

handleCrashOperation

virtual void handleCrashOperation(LifecycleOperation *operation) override;

sendDiscoveryPacket

virtual void sendDiscoveryPacket();

sendDataAckPacket

virtual void sendDataAckPacket();