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
null-face.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_FACE_NULL_FACE_HPP
27
#define NFD_DAEMON_FACE_NULL_FACE_HPP
28
29
#include "
face.hpp
"
30
31
namespace
nfd
{
32
36
class
NullFace
:
public
Face
37
{
38
public
:
39
explicit
40
NullFace
(
const
FaceUri
& uri =
FaceUri
(
"null://"
));
41
42
void
43
sendInterest
(
const
Interest
& interest)
DECL_OVERRIDE
;
44
45
void
46
sendData
(
const
Data
& data)
DECL_OVERRIDE
;
47
48
void
49
close
()
DECL_OVERRIDE
;
50
};
51
52
}
// namespace nfd
53
54
#endif // NFD_DAEMON_FACE_NULL_FACE_HPP
face.hpp
nfd::NullFace::NullFace
NullFace(const FaceUri &uri=FaceUri("null://"))
Definition:
null-face.cpp:33
ndn::util::FaceUri
represents the underlying protocol and address used by a Face
Definition:
face-uri.hpp:44
ndn::Interest
represents an Interest packet
Definition:
interest.hpp:45
nfd::NullFace::close
void close() 1
Close the face.
Definition:
null-face.cpp:49
nfd::NullFace::sendData
void sendData(const Data &data) 1
send a Data
Definition:
null-face.cpp:44
nfd::NullFace::sendInterest
void sendInterest(const Interest &interest) 1
send an Interest
Definition:
null-face.cpp:39
DECL_OVERRIDE
#define DECL_OVERRIDE
expands to 'override' if compiler supports this feature, otherwise expands to nothing ...
Definition:
common.hpp:49
nfd::Face
represents a face
Definition:
face.hpp:57
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
nfd::NullFace
a Face that has no underlying transport and drops every packet
Definition:
null-face.hpp:36
ndn::Data
represents a Data packet
Definition:
data.hpp:39
ndnSIM
NFD
daemon
face
null-face.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11