NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
readvertise-destination.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#include "
readvertise-destination.hpp
"
27
#include "
core/logger.hpp
"
28
29
namespace
nfd
{
30
namespace
rib {
31
32
NFD_LOG_INIT
(
"ReadvertiseDestination"
);
33
34
void
35
ReadvertiseDestination::setAvailability
(
bool
isAvailable)
36
{
37
if
(m_isAvailable !=
isAvailable
) {
38
if
(
isAvailable
) {
39
NFD_LOG_DEBUG
(
"Destination has become available."
);
40
}
41
else
{
42
NFD_LOG_DEBUG
(
"Destinatino has become unavailable."
);
43
}
44
m_isAvailable =
isAvailable
;
45
afterAvailabilityChange
(
isAvailable
);
46
}
47
}
48
49
}
// namespace rib
50
}
// namespace nfd
NFD_LOG_DEBUG
#define NFD_LOG_DEBUG(expression)
Definition:
logger.hpp:55
readvertise-destination.hpp
nfd::rib::ReadvertiseDestination::setAvailability
void setAvailability(bool isAvailable)
Definition:
readvertise-destination.cpp:35
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::rib::ReadvertiseDestination::afterAvailabilityChange
signal::Signal< ReadvertiseDestination, bool > afterAvailabilityChange
signals when the destination becomes available or unavailable
Definition:
readvertise-destination.hpp:65
NFD_LOG_INIT
#define NFD_LOG_INIT(name)
Definition:
logger.hpp:34
nfd::rib::ReadvertiseDestination::isAvailable
bool isAvailable() const
Definition:
readvertise-destination.hpp:53
logger.hpp
ndnSIM
NFD
rib
readvertise
readvertise-destination.cpp
Generated on Tue Aug 7 2018 16:19:18 for ndnSIM by
1.8.14