NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
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
common.hpp
ns3::ndn::Name
Name
Definition:
ndn-common.cpp:25
nfd::OnInterest
function< void(const Name &, const Interest &)> OnInterest
Definition:
app-face.hpp:35
nfd::AppFace::~AppFace
virtual ~AppFace()
Definition:
app-face.hpp:48
ndnSIM
NFD
daemon
mgmt
app-face.hpp
Generated on Wed Feb 18 2015 16:31:16 for ndnSIM by
1.8.7