36 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
38 messageHandler->clearTimer(neighbor->getInactivityTimer());
44 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
45 messageHandler->startTimer(neighbor->getPollTimer(), neighbor->getInterface()->getPollInterval());
54 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
55 messageHandler->clearTimer(neighbor->getInactivityTimer());
56 messageHandler->startTimer(neighbor->getInactivityTimer(), neighbor->getRouterDeadInterval());
59 if (!neighbor->needAdjacency()) {
61 changeState(neighbor,
new NeighborStateTwoWay,
this);
65 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
67 neighbor->incrementDDSequenceNumber();
68 neighbor->sendDatabaseDescriptionPacket(
true);
69 messageHandler->startTimer(neighbor->getDDRetransmissionTimer(), neighbor->getInterface()->getRetransmissionInterval());
70 changeState(neighbor,
new NeighborStateExchangeStart,
this);
73 neighbor->retransmitUpdatePacket();
74 neighbor->startUpdateRetransmissionTimer();
77 neighbor->deleteLastSentDDPacket();
Definition: OSPFNeighbor.h:52
void changeState(Neighbor *neighbor, NeighborState *newState, NeighborState *currentState)
Definition: OSPFNeighborState.cc:28
Definition: OSPFNeighbor.h:51
Definition: OSPFNeighbor.h:42
Definition: OSPFNeighbor.h:53
Definition: OSPFNeighbor.h:47
Definition: OSPFNeighbor.h:50
Definition: OSPFInterface.h:58
Definition: OSPFNeighbor.h:55
Definition: OSPFNeighbor.h:56
Definition: OSPFNeighbor.h:49
Definition: OSPFNeighbor.h:57