INET Framework for OMNeT++/OMNEST
inet::LifecycleUnsupported Class Reference

#include <LifecycleUnsupported.h>

Inheritance diagram for inet::LifecycleUnsupported:
inet::ILifecycle inet::bgp::Bgp inet::Icmpv6 inet::Ipv6 inet::Ipv6NeighbourDiscovery inet::Ipv6Tunneling inet::rtp::Rtcp inet::rtp::Rtp inet::RtpApplication inet::SctpClient inet::SctpNatPeer inet::SctpNatServer inet::SctpPeer inet::SctpServer inet::SimpleVoipReceiver inet::SimpleVoipSender inet::tcp::TcpLwip inet::TcpGenericServerApp inet::TunLoopbackApp inet::VoipStreamReceiver inet::VoipStreamSender

Public Member Functions

virtual bool handleOperationStage (LifecycleOperation *operation, IDoneCallback *doneCallback) override
 Perform one stage of a lifecycle operation. More...
 
- Public Member Functions inherited from inet::ILifecycle
virtual ~ILifecycle ()
 

Member Function Documentation

◆ handleOperationStage()

virtual bool inet::LifecycleUnsupported::handleOperationStage ( LifecycleOperation operation,
IDoneCallback doneCallback 
)
inlineoverridevirtual

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.

20  {
21  omnetpp::cMethodCallContextSwitcher __ctx(check_and_cast<cModule *>(this));
22  __ctx.methodCallSilent(); // Enter_Method_Silent();
23  throw cRuntimeError("Unsupported lifecycle operation '%s'", operation->getClassName());
24  return true;
25  }

The documentation for this class was generated from the following file: