rib: fetch face dataset with StatusDataset client
refs #3620
Change-Id: Ibf1a0e064e105389d6b733b2d1f0791dff356208
diff --git a/rib/rib-manager.hpp b/rib/rib-manager.hpp
index 686ecd7..99f5ccd 100644
--- a/rib/rib-manager.hpp
+++ b/rib/rib-manager.hpp
@@ -115,10 +115,7 @@
fetchActiveFaces();
void
- fetchSegments(const Data& data, shared_ptr<ndn::OBufferStream> buffer);
-
- void
- onFetchFaceStatusTimeout();
+ onFetchActiveFacesFailure(uint32_t code, const std::string& reason);
void
onFaceDestroyedEvent(uint64_t faceId);
@@ -130,10 +127,10 @@
/**
* @brief remove invalid faces
*
- * @param buffer Face dataset contents
+ * @param status Face dataset
*/
void
- removeInvalidFaces(shared_ptr<ndn::OBufferStream> buffer);
+ removeInvalidFaces(const std::vector<ndn::nfd::FaceStatus>& activeFaces);
/**
* @brief response to face events