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
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
virtual
void
43
sendInterest
(
const
Interest& interest);
44
46
virtual
void
47
sendData
(
const
Data& data);
48
54
virtual
void
55
close
();
56
};
57
58
}
// namespace nfd
59
60
#endif // NFD_DAEMON_FACE_NULL_FACE_HPP
nfd::NullFace::NullFace
NullFace(const FaceUri &uri=FaceUri("null://"))
Definition:
null-face.cpp:33
nfd::NullFace::sendData
virtual void sendData(const Data &data)
send a Data
Definition:
null-face.cpp:44
face.hpp
nfd::Face
represents a face
Definition:
face.hpp:59
nfd::NullFace::close
virtual void close()
Close the face.
Definition:
null-face.cpp:49
nfd::NullFace
a Face that has no underlying transport and drops every packet
Definition:
null-face.hpp:36
nfd::NullFace::sendInterest
virtual void sendInterest(const Interest &interest)
send an Interest
Definition:
null-face.cpp:39
ndnSIM
NFD
daemon
face
null-face.hpp
Generated on Wed Feb 18 2015 16:31:16 for ndnSIM by
1.8.7