face-monitor.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
28 #ifndef NDN_MGMT_NFD_FACE_MONITOR_HPP
29 #define NDN_MGMT_NFD_FACE_MONITOR_HPP
30 
31 #include "../../util/notification-subscriber.hpp"
33 
34 namespace ndn {
35 namespace nfd {
36 
40 class FaceMonitor : public util::NotificationSubscriber<FaceEventNotification>
41 {
42 public:
43  explicit
44  FaceMonitor(Face& face);
45 };
46 
47 } // namespace nfd
48 } // namespace ndn
49 
50 #endif // NDN_MGMT_NFD_FACE_MONITOR_HPP
Copyright (c) 2013-2017 Regents of the University of California.
Definition: common.hpp:66
A subscriber for Face status change notification stream.
Provide a communication channel with local or remote NDN forwarder.
Definition: face.hpp:90
provides a subscriber of Notification Stream