NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
face-monitor.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2014-2018 Regents of the University of California,
4
* Arizona Board of Regents,
5
* Colorado State University,
6
* University Pierre & Marie Curie, Sorbonne University,
7
* Washington University in St. Louis,
8
* Beijing Institute of Technology,
9
* The University of Memphis.
10
*
11
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
12
*
13
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
14
* terms of the GNU Lesser General Public License as published by the Free Software
15
* Foundation, either version 3 of the License, or (at your option) any later version.
16
*
17
* ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY
18
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
20
*
21
* You should have received copies of the GNU General Public License and GNU Lesser
22
* General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see
23
* <http://www.gnu.org/licenses/>.
24
*
25
* See AUTHORS.md for complete list of ndn-cxx authors and contributors.
26
*/
27
28
#include "
ndn-cxx/mgmt/nfd/face-monitor.hpp
"
29
30
namespace
ndn
{
31
namespace
nfd
{
32
33
FaceMonitor::FaceMonitor
(
Face
& face)
34
: NotificationSubscriber<
FaceEventNotification
>(face,
"ndn:/localhost/nfd/faces/events"
)
35
{
36
}
37
38
}
// namespace nfd
39
}
// namespace ndn
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
face-monitor.hpp
ndn::nfd::FaceEventNotification
represents a Face status change notification
Definition:
face-event-notification.hpp:35
ndn::nfd::FaceMonitor::FaceMonitor
FaceMonitor(Face &face)
Definition:
face-monitor.cpp:33
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:39
ndn::Face
Provide a communication channel with local or remote NDN forwarder.
Definition:
face.hpp:90
ndnSIM
ndn-cxx
ndn-cxx
mgmt
nfd
face-monitor.cpp
Generated on Fri May 6 2022 12:34:12 for ndnSIM by
1.8.13