void Fib::onSetStrategyFailure(const ndn::nfd::ControlResponse& response, const ndn::nfd::ControlParameters& parameters, uint32_t count, const std::string& message) { NLSR_LOG_DEBUG(message << ": " << parameters.getStrategy() << " " << "for name: " << parameters.getName()); if (count < 3) { setStrategy(parameters.getName(), parameters.getStrategy().toUri(),count+1); } }
void Fib::onSetStrategySuccess(const ndn::nfd::ControlParameters& commandSuccessResult, const std::string& message) { NLSR_LOG_DEBUG(message << ": " << commandSuccessResult.getStrategy() << " " << "for name: " << commandSuccessResult.getName()); }