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
ndn-app-face.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
20
#ifndef NDN_APP_FACE_H
21
#define NDN_APP_FACE_H
22
23
#include "ns3/ndnSIM/model/ndn-common.hpp"
24
#include "ns3/ndnSIM/NFD/daemon/face/local-face.hpp"
25
#include "ns3/ndnSIM/model/ndn-face.hpp"
26
27
namespace
ns3 {
28
29
class
Packet;
30
class
Node;
31
32
namespace
ndn {
33
34
class
App
;
35
46
class
AppFace
:
public
nfd::LocalFace
{
47
public
:
51
AppFace
(Ptr<App> app);
52
53
virtual
~AppFace
();
54
55
public
:
// from nfd::Face
61
virtual
void
62
sendInterest
(
const
Interest
& interest);
63
69
virtual
void
70
sendData
(
const
Data
& data);
71
72
virtual
void
73
close
();
74
75
private
:
76
Ptr<Node> m_node;
77
Ptr<App> m_app;
78
};
79
80
}
// namespace ndn
81
}
// namespace ns3
82
83
#endif // NDN_APP_FACE_H
ns3::ndn::AppFace::sendInterest
virtual void sendInterest(const Interest &interest)
Send Interest towards application.
Definition:
ndn-app-face.cpp:57
App
ndn App
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-app.cpp:28
ns3::ndn::AppFace
Implementation of application Ndn face.
Definition:
ndn-app-face.hpp:46
ns3::ndn::Data
ns3::ndn::AppFace::~AppFace
virtual ~AppFace()
Definition:
ndn-app-face.cpp:45
ns3::ndn::Interest
ns3::ndn::AppFace::sendData
virtual void sendData(const Data &data)
Send Data towards application.
Definition:
ndn-app-face.cpp:68
nfd::LocalFace
represents a face
Definition:
local-face.hpp:39
ns3::ndn::AppFace::close
virtual void close()
Close the face.
Definition:
ndn-app-face.cpp:51
ns3::ndn::AppFace::AppFace
AppFace(Ptr< App > app)
Default constructor.
Definition:
ndn-app-face.cpp:35
ndnSIM
model
ndn-app-face.hpp
Generated on Wed Feb 18 2015 16:31:16 for ndnSIM by
1.8.7