#include <Ospfv3InterfaceStatePointToPoint.h>
◆ ~Ospfv3InterfaceStatePointToPoint()
| inet::ospfv3::Ospfv3InterfaceStatePointToPoint::~Ospfv3InterfaceStatePointToPoint |
( |
| ) |
|
|
inline |
◆ getInterfaceStateString()
| virtual std::string inet::ospfv3::Ospfv3InterfaceStatePointToPoint::getInterfaceStateString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getState()
◆ processEvent()
Implements inet::ospfv3::Ospfv3InterfaceState.
19 changeState(interface,
new Ospfv3InterfaceStateDown,
this);
23 changeState(interface,
new Ospfv3InterfaceStateLoopback,
this);
27 if (interface->getNeighborCount() > 0) {
28 Packet *hello = interface->prepareHello();
29 Ipv6Address dest = interface->getNeighbor(0)->getNeighborIP();
30 interface->getArea()->getInstance()->getProcess()->sendPacket(hello, dest, interface->getIntName().c_str(),
VIRTUAL_LINK_TTL);
34 Packet *hello = interface->prepareHello();
37 interface->getArea()->getInstance()->getProcess()->setTimer(interface->getHelloTimer(), interface->getHelloInterval());
40 interface->sendDelayedAcknowledgements();
The documentation for this class was generated from the following files: