35 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
37 messageHandler->clearTimer(neighbor->getInactivityTimer());
43 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
44 messageHandler->startTimer(neighbor->getPollTimer(), neighbor->getInterface()->getPollInterval());
53 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
54 messageHandler->clearTimer(neighbor->getInactivityTimer());
55 messageHandler->startTimer(neighbor->getInactivityTimer(), neighbor->getRouterDeadInterval());
58 if (neighbor->needAdjacency()) {
59 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
60 if (!(neighbor->isFirstAdjacencyInited())) {
61 neighbor->initFirstAdjacency();
64 neighbor->incrementDDSequenceNumber();
66 neighbor->sendDatabaseDescriptionPacket(
true);
67 messageHandler->startTimer(neighbor->getDDRetransmissionTimer(), neighbor->getInterface()->getRetransmissionInterval());
68 changeState(neighbor,
new NeighborStateExchangeStart,
this);
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: OSPFInterface.h:58
Definition: OSPFNeighbor.h:55
Definition: OSPFNeighbor.h:49