fw: FaceTable signals use Face& instead of shared_ptr
refs #3205
Change-Id: I53ecd0d6a13d379eb1dfb872041bdde8501f05e7
diff --git a/daemon/mgmt/face-manager.hpp b/daemon/mgmt/face-manager.hpp
index aa0c05d..ec0af92 100644
--- a/daemon/mgmt/face-manager.hpp
+++ b/daemon/mgmt/face-manager.hpp
@@ -121,12 +121,10 @@
private: // NotificationStream
void
- afterFaceAdded(shared_ptr<Face> face,
- const ndn::mgmt::PostNotification& post);
+ notifyAddFace(const Face& face);
void
- afterFaceRemoved(shared_ptr<Face> face,
- const ndn::mgmt::PostNotification& post);
+ notifyRemoveFace(const Face& face);
private: // configuration
void
@@ -155,6 +153,7 @@
private:
FaceTable& m_faceTable;
+ ndn::mgmt::PostNotification m_postNotification;
signal::ScopedConnection m_faceAddConn;
signal::ScopedConnection m_faceRemoveConn;
};