#include <Ospfv2InterfaceStateWaiting.h>
◆ getState()
◆ processEvent()
Implements inet::ospfv2::Ospfv2InterfaceState.
31 changeState(intf,
new InterfaceStateLoopback,
this);
38 unsigned long neighborCount = intf->getNeighborCount();
40 for (
unsigned long i = 0; i < neighborCount; i++) {
41 Neighbor *neighbor = intf->getNeighbor(i);
42 if (neighbor->getPriority() > 0) {
43 intf->sendHelloPacket(neighbor->getAddress(), ttl);
47 intf->getArea()->getRouter()->getMessageHandler()->startTimer(intf->getHelloTimer(), intf->getHelloInterval());
50 intf->sendDelayedAcknowledgements();
The documentation for this class was generated from the following files: