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();
66 neighbor->retransmitDatabaseDescriptionPacket();
67 messageHandler->startTimer(neighbor->getDDRetransmissionTimer(), neighbor->getInterface()->getRetransmissionInterval());
70 neighbor->createDatabaseSummary();
71 neighbor->sendDatabaseDescriptionPacket();
72 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
73 messageHandler->clearTimer(neighbor->getDDRetransmissionTimer());
74 changeState(neighbor,
new NeighborStateExchange,
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:45
Definition: OSPFNeighbor.h:55
Definition: OSPFNeighbor.h:56
Definition: OSPFNeighbor.h:49