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
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:38
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 Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11