INET Framework for OMNeT++/OMNEST
inet::ospfv3::Ospfv3InterfacePassive Class Reference

#include <Ospfv3InterfacePassive.h>

Inheritance diagram for inet::ospfv3::Ospfv3InterfacePassive:
inet::ospfv3::Ospfv3InterfaceState

Public Member Functions

 ~Ospfv3InterfacePassive ()
 
virtual void processEvent (Ospfv3Interface *intf, Ospfv3Interface::Ospfv3InterfaceEvent event) override
 
virtual Ospfv3Interface::Ospfv3InterfaceFaState getState () const override
 
virtual std::string getInterfaceStateString () const override
 
- Public Member Functions inherited from inet::ospfv3::Ospfv3InterfaceState
virtual ~Ospfv3InterfaceState ()
 

Additional Inherited Members

- Protected Member Functions inherited from inet::ospfv3::Ospfv3InterfaceState
void changeState (Ospfv3Interface *intf, Ospfv3InterfaceState *newState, Ospfv3InterfaceState *currentState)
 
void calculateDesignatedRouter (Ospfv3Interface *intf)
 

Constructor & Destructor Documentation

◆ ~Ospfv3InterfacePassive()

inet::ospfv3::Ospfv3InterfacePassive::~Ospfv3InterfacePassive ( )
inline
19 {};

Member Function Documentation

◆ getInterfaceStateString()

virtual std::string inet::ospfv3::Ospfv3InterfacePassive::getInterfaceStateString ( ) const
inlineoverridevirtual

Implements inet::ospfv3::Ospfv3InterfaceState.

22 { return std::string("Ospfv3InterfacePassive"); }

◆ getState()

virtual Ospfv3Interface::Ospfv3InterfaceFaState inet::ospfv3::Ospfv3InterfacePassive::getState ( ) const
inlineoverridevirtual

◆ processEvent()

void inet::ospfv3::Ospfv3InterfacePassive::processEvent ( Ospfv3Interface intf,
Ospfv3Interface::Ospfv3InterfaceEvent  event 
)
overridevirtual

Implements inet::ospfv3::Ospfv3InterfaceState.

10 {
12  interface->reset();
13  changeState(interface, new Ospfv3InterfaceStateDown, this);
14  }
15 } // processEvent

The documentation for this class was generated from the following files:
inet::ospfv3::Ospfv3Interface::INTERFACE_PASSIVE
@ INTERFACE_PASSIVE
Definition: Ospfv3Interface.h:34
inet::ospfv3::Ospfv3InterfaceState::changeState
void changeState(Ospfv3Interface *intf, Ospfv3InterfaceState *newState, Ospfv3InterfaceState *currentState)
Definition: Ospfv3InterfaceState.cc:10
inet::ospfv3::Ospfv3Interface::INTERFACE_DOWN_EVENT
@ INTERFACE_DOWN_EVENT
Definition: Ospfv3Interface.h:43