@Test(expected = Exception.class) public void testStartInactivityTimeCheck() throws Exception { isisNeighbor.startInactivityTimeCheck(); assertThat(isisNeighbor, is(notNullValue())); }
public void startInactivityTimeCheck() { if (!inActivityTimerScheduled) { log.debug("IsisNeighbor::startInactivityTimeCheck"); inActivityTimeCheckTask = new InternalInactivityTimeCheck(); exServiceInActivity = Executors.newSingleThreadScheduledExecutor(); exServiceInActivity.scheduleAtFixedRate(inActivityTimeCheckTask, neighborDownInterval, neighborDownInterval, TimeUnit.SECONDS); inActivityTimerScheduled = true; } }
DefaultIsisNeighbor implements IsisNeighbor { public void startInactivityTimeCheck() { if (!inActivityTimerScheduled) { log.debug("IsisNeighbor::startInactivityTimeCheck"); inActivityTimeCheckTask = new InternalInactivityTimeCheck(); exServiceInActivity = Executors.newSingleThreadScheduledExecutor(); exServiceInActivity.scheduleAtFixedRate(inActivityTimeCheckTask, neighborDownInterval, neighborDownInterval, TimeUnit.SECONDS); inActivityTimerScheduled = true; } } }
DefaultIsisNeighbor implements IsisNeighbor { public void startInactivityTimeCheck() { if (!inActivityTimerScheduled) { log.debug("IsisNeighbor::startInactivityTimeCheck"); inActivityTimeCheckTask = new InternalInactivityTimeCheck(); exServiceInActivity = Executors.newSingleThreadScheduledExecutor(); exServiceInActivity.scheduleAtFixedRate(inActivityTimeCheckTask, neighborDownInterval, neighborDownInterval, TimeUnit.SECONDS); inActivityTimerScheduled = true; } } DefaultIsisNeighbor(HelloPdu helloMessage, IsisInterface isisInterface); }
DefaultIsisNeighbor implements IsisNeighbor { public void startInactivityTimeCheck() { if (!inActivityTimerScheduled) { log.debug("IsisNeighbor::startInactivityTimeCheck"); inActivityTimeCheckTask = new InternalInactivityTimeCheck(); exServiceInActivity = Executors.newSingleThreadScheduledExecutor(); exServiceInActivity.scheduleAtFixedRate(inActivityTimeCheckTask, neighborDownInterval, neighborDownInterval, TimeUnit.SECONDS); inActivityTimerScheduled = true; } } DefaultIsisNeighbor(HelloPdu helloMessage, IsisInterface isisInterface); int localExtendedCircuitId(); void setLocalExtendedCircuitId(int localExtendedCircuitId); String neighborAreaId(); void setNeighborAreaId(String neighborAreaId); String neighborSystemId(); void setNeighborSystemId(String neighborSystemId); Ip4Address interfaceIp(); void setInterfaceIp(Ip4Address interfaceIp); MacAddress neighborMacAddress(); void setNeighborMacAddress(MacAddress neighborMacAddress); int holdingTime(); void setHoldingTime(int holdingTime); IsisRouterType routerType(); void setRouterType(IsisRouterType routerType); String l1LanId(); void setL1LanId(String l1LanId); String l2LanId(); void setL2LanId(String l2LanId); IsisInterfaceState interfaceState(); void setNeighborState(IsisInterfaceState neighborState); byte localCircuitId(); void setLocalCircuitId(byte localCircuitId); IsisInterfaceState neighborState(); void startHoldingTimeCheck(); void stopHoldingTimeCheck(); void startInactivityTimeCheck(); void stopInactivityTimeCheck(); void neighborDown(); }
DefaultIsisNeighbor implements IsisNeighbor { public void startInactivityTimeCheck() { if (!inActivityTimerScheduled) { log.debug("IsisNeighbor::startInactivityTimeCheck"); inActivityTimeCheckTask = new InternalInactivityTimeCheck(); exServiceInActivity = Executors.newSingleThreadScheduledExecutor(); exServiceInActivity.scheduleAtFixedRate(inActivityTimeCheckTask, neighborDownInterval, neighborDownInterval, TimeUnit.SECONDS); inActivityTimerScheduled = true; } } DefaultIsisNeighbor(HelloPdu helloMessage, IsisInterface isisInterface); int localExtendedCircuitId(); void setLocalExtendedCircuitId(int localExtendedCircuitId); String neighborAreaId(); void setNeighborAreaId(String neighborAreaId); String neighborSystemId(); void setNeighborSystemId(String neighborSystemId); Ip4Address interfaceIp(); void setInterfaceIp(Ip4Address interfaceIp); MacAddress neighborMacAddress(); void setNeighborMacAddress(MacAddress neighborMacAddress); int holdingTime(); void setHoldingTime(int holdingTime); IsisRouterType routerType(); void setRouterType(IsisRouterType routerType); String l1LanId(); void setL1LanId(String l1LanId); String l2LanId(); void setL2LanId(String l2LanId); IsisInterfaceState interfaceState(); void setNeighborState(IsisInterfaceState neighborState); byte localCircuitId(); void setLocalCircuitId(byte localCircuitId); IsisInterfaceState neighborState(); void startHoldingTimeCheck(); void stopHoldingTimeCheck(); void startInactivityTimeCheck(); void stopInactivityTimeCheck(); void neighborDown();  }