ns-3 Direct Code Execution
API
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 ();
15  virtual ApplicationContainer Install (NodeContainer c);
16  virtual ApplicationContainer InstallInNode (Ptr<Node> node);
17 
18  void AddFile (std::string from, std::string to);
19 
23  void ResetEnvironment (void);
24 
25 
26 private:
27  std::string GetKeystoreDir (void);
28  void CreateKeystore ();
29  void CopyFile (std::string from, std::string to);
30  std::string GetKeystoreTemplate (void);
31  std::vector<std::pair <std::string, std::string> > m_files;
32 
33  void CopyRealFileToVirtual (int nodeId, std::string from, std::string to);
34 
35 
36 };
37 
38 }
39 #endif // CCN_HELPER_H
std::string GetKeystoreTemplate(void)
std::string GetKeystoreDir(void)
Configuration helper for the application executed with DCE.
void CopyRealFileToVirtual(int nodeId, std::string from, std::string to)
virtual ApplicationContainer Install(NodeContainer c)
virtual ApplicationContainer InstallInNode(Ptr< Node > node)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void AddFile(std::string from, std::string to)
void CopyFile(std::string from, std::string to)
std::vector< std::pair< std::string, std::string > > m_files