INET Framework for OMNeT++/OMNEST
|
Interface to be implemented by modules that want to support failure/recovery, shutdown/restart, suspend/resume, and similar scenarios. More...
#include <ILifecycle.h>
Public Member Functions | |
virtual | ~ILifecycle () |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback)=0 |
Perform one stage of a lifecycle operation. More... | |
Interface to be implemented by modules that want to support failure/recovery, shutdown/restart, suspend/resume, and similar scenarios.
|
pure virtual |
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"
Implemented in inet::IPv6RoutingTable, inet::IPv4RoutingTable, inet::IPv4, inet::RSVP, inet::InterfaceTable, inet::IPv6, inet::dymo::DYMO, inet::tcp::TCP, inet::EtherMACBase, inet::AODVRouting, inet::RIPRouting, inet::DHCPClient, inet::LDP, inet::UDP, inet::IPv6NeighbourDiscovery, inet::GPSR, inet::IPv6Tunneling, inet::tcp::TCP_NSC, inet::tcp::TCP_lwIP, inet::DHCPServer, inet::SCTPPeer, inet::SCTPClient, inet::SimpleVoIPReceiver, inet::ARP, inet::PingApp, inet::ieee80211::Ieee80211MgmtBase, inet::SCTPServer, inet::TED, inet::httptools::HttpNodeBase, inet::GlobalARP, inet::Ieee8021dRelay, inet::ICMPv6, inet::IPvXTrafGen, inet::EtherLLC, inet::EtherAppCli, inet::EtherTrafGen, inet::MACRelayUnit, inet::ospf::OSPFRouting, inet::SimpleVoIPSender, inet::VoIPStreamSender, inet::TCPEchoApp, inet::TCPGenericSrvApp, inet::RTPApplication, inet::EtherAppSrv, inet::VoIPStreamReceiver, inet::NodeStatus, inet::IPv4NodeConfigurator, inet::TCPBasicClientApp, inet::STPBase, inet::bgp::BGPRouting, inet::rtp::RTCP, inet::MACBase, inet::IPvXTrafSink, inet::PacketDrillApp, inet::TCPSrvHostApp, inet::TelnetApp, inet::TCPSinkApp, inet::L2NodeConfigurator, inet::rtp::RTP, and inet::OperationalBase.
Referenced by inet::LifecycleController::doOneStage().