This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void | |
Producer::run() { | |
// Read the database value for the sensor Id and update the serving router | |
// Id if the distance is less than the existing one. | |
std::string ldb_uri = getConfig().getLocationDb().getDbUri(); | |
m_face.setInterestFilter("/", | |
bind(&Producer::onInterest, this, _1, _2), | |
RegisterPrefixSuccessCallback(), |