ns-3 Direct Code Execution
API
 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
4 #include <fstream>
5 #include <vector>
6 
7 
8 namespace ns3 {
9 
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