INET Framework for OMNeT++/OMNEST
inet::ILifecycle Class Referenceabstract

Interface to be implemented by modules that want to support failure/recovery, shutdown/restart, suspend/resume, and similar scenarios. More...

#include <ILifecycle.h>

Inheritance diagram for inet::ILifecycle:
inet::AODVRouting inet::ARP inet::bgp::BGPRouting inet::DHCPClient inet::DHCPServer inet::dymo::DYMO inet::EtherAppCli inet::EtherAppSrv inet::EtherLLC inet::EtherTrafGen inet::GlobalARP inet::GPSR inet::httptools::HttpNodeBase inet::ICMPv6 inet::ieee80211::Ieee80211MgmtBase inet::Ieee8021dRelay inet::InterfaceTable inet::IPv4 inet::IPv4NodeConfigurator inet::IPv4RoutingTable inet::IPv6 inet::IPv6NeighbourDiscovery inet::IPv6RoutingTable inet::IPv6Tunneling inet::IPvXTrafGen inet::IPvXTrafSink inet::L2NodeConfigurator inet::LDP inet::MACBase inet::MACRelayUnit inet::NodeStatus inet::OperationalBase inet::ospf::OSPFRouting inet::PacketDrillApp inet::PingApp inet::RIPRouting inet::RSVP inet::rtp::RTCP inet::rtp::RTP inet::RTPApplication inet::SCTPClient inet::SCTPPeer inet::SCTPServer inet::SimpleVoIPReceiver inet::SimpleVoIPSender inet::STPBase inet::tcp::TCP inet::tcp::TCP_lwIP inet::tcp::TCP_NSC inet::TCPBasicClientApp inet::TCPEchoApp inet::TCPGenericSrvApp inet::TCPSinkApp inet::TCPSrvHostApp inet::TED inet::TelnetApp inet::UDP inet::VoIPStreamReceiver inet::VoIPStreamSender

Public Member Functions

virtual ~ILifecycle ()
 
virtual bool handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback)=0
 Perform one stage of a lifecycle operation. More...
 

Detailed Description

Interface to be implemented by modules that want to support failure/recovery, shutdown/restart, suspend/resume, and similar scenarios.

See also
LifecycleController

Constructor & Destructor Documentation

virtual inet::ILifecycle::~ILifecycle ( )
inlinevirtual
47 {}

Member Function Documentation

virtual bool inet::ILifecycle::handleOperationStage ( LifecycleOperation operation,
int  stage,
IDoneCallback doneCallback 
)
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().


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