ns-3 Direct Code Execution
Home
Tutorials ▼
Docs ▼
Wiki
Manual
Develop ▼
API
Bugs
API
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ccn-client-helper.h
Go to the documentation of this file.
1
#ifndef CCN_HELPER_H
2
#define CCN_HELPER_H
3
#include "
dce-application-helper.h
"
4
#include <fstream>
5
#include <vector>
6
7
8
namespace
ns3 {
9
10
class
CcnClientHelper
:
public
DceApplicationHelper
11
{
12
public
:
13
CcnClientHelper
();
14
virtual
ApplicationContainer
Install
(NodeContainer c);
15
void
AddFile
(std::string from, std::string to);
16
17
private
:
18
std::string
GetKeystoreDir
(
void
);
19
void
CreateKeystore
();
20
void
CopyFile
(std::string from, std::string to);
21
std::string
GetKeystoreTemplate
(
void
);
22
std::vector<std::pair <std::string, std::string> >
m_files
;
23
24
void
CopyRealFileToVirtual
(
int
nodeId, std::string from, std::string to);
25
26
};
27
}
28
#endif // CCN_HELPER_H
helper
ccn-client-helper.h
Generated on Fri Aug 30 2013 13:57:55 for ns-3-dce by
1.8.1.2