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
app-face.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_MGMT_APP_FACE_HPP
27
#define NFD_DAEMON_MGMT_APP_FACE_HPP
28
29
#include "common.hpp"
30
31
#include <ndn-cxx/security/key-chain.hpp>
32
33
namespace
nfd
{
34
35
typedef
function<void(const Name&, const Interest&)>
OnInterest
;
36
37
class
AppFace
38
{
39
public
:
40
virtual
void
41
setInterestFilter
(
const
Name
& filter,
42
OnInterest
onInterest) = 0;
43
44
virtual
void
45
put
(
const
Data
& data) = 0;
46
47
virtual
48
~AppFace
() { }
49
};
50
51
}
// namespace nfd
52
53
#endif // NFD_DAEMON_MGMT_APP_FACE_HPP
nfd::AppFace
Definition:
app-face.hpp:37
nfd::AppFace::put
virtual void put(const Data &data)=0
nfd::AppFace::setInterestFilter
virtual void setInterestFilter(const Name &filter, OnInterest onInterest)=0
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
nfd::OnInterest
function< void(const Name &, const Interest &)> OnInterest
Definition:
app-face.hpp:35
ndn::Data
represents a Data packet
Definition:
data.hpp:39
nfd::AppFace::~AppFace
virtual ~AppFace()
Definition:
app-face.hpp:48
ndnSIM
NFD
daemon
mgmt
app-face.hpp
Generated on Fri Feb 23 2018 12:30:55 for ndnSIM by
1.8.14