#include <ccn-client-helper.h>
Public Member Functions | |
CcnClientHelper () | |
void | AddFile (std::string from, std::string to) |
virtual ApplicationContainer | Install (NodeContainer c) |
![]() | |
DceApplicationHelper () | |
void | AddArgument (std::string arg) |
void | AddArguments (std::string a0, std::string a1) |
void | AddArguments (std::string a0, std::string a1, std::string a2) |
void | AddArguments (std::string a0, std::string a1, std::string a2, std::string a3) |
void | AddArguments (std::string a0, std::string a1, std::string a2, std::string a3, std::string a4) |
void | AddArguments (std::string a0, std::string a1, std::string a2, std::string a3, std::string a4, std::string a5) |
void | AddArguments (std::string a0, std::string a1, std::string a2, std::string a3, std::string a4, std::string a5, std::string a6) |
void | AddArguments (std::string a0, std::string a1, std::string a2, std::string a3, std::string a4, std::string a5, std::string a6, std::string a7) |
void | AddEnvironment (std::string name, std::string value) |
void | ParseArguments (std::string args) |
void | ResetArguments (void) |
void | ResetEnvironment (void) |
void | SetBinary (std::string filename) |
void | SetEgid (uid_t i) |
void | SetEuid (uid_t i) |
void | SetFinishedCallback (Callback< void, uint16_t, int > cb) |
void | SetGid (uid_t i) |
void | SetStackSize (uint32_t stackSize) |
void | SetStdinFile (std::string filename) |
void | SetUid (uid_t i) |
Private Member Functions | |
void | CopyFile (std::string from, std::string to) |
void | CopyRealFileToVirtual (int nodeId, std::string from, std::string to) |
void | CreateKeystore () |
std::string | GetKeystoreDir (void) |
std::string | GetKeystoreTemplate (void) |
Private Attributes | |
std::vector< std::pair < std::string, std::string > > | m_files |
Definition at line 10 of file ccn-client-helper.h.
ns3::CcnClientHelper::CcnClientHelper | ( | ) |
Definition at line 13 of file ccn-client-helper.cc.
void ns3::CcnClientHelper::AddFile | ( | std::string | from, |
std::string | to | ||
) |
Definition at line 158 of file ccn-client-helper.cc.
References m_files.
|
private |
Definition at line 75 of file ccn-client-helper.cc.
Referenced by CopyRealFileToVirtual(), and Install().
|
private |
Definition at line 163 of file ccn-client-helper.cc.
References CopyFile(), and ns3::UtilsEnsureAllDirectoriesExist().
Referenced by Install().
|
private |
Definition at line 85 of file ccn-client-helper.cc.
References GetKeystoreDir().
Referenced by Install().
|
private |
Definition at line 56 of file ccn-client-helper.cc.
References ns3::UtilsEnsureAllDirectoriesExist().
Referenced by CreateKeystore(), and GetKeystoreTemplate().
|
private |
Definition at line 65 of file ccn-client-helper.cc.
References GetKeystoreDir().
Referenced by Install().
|
virtual |
Install the configured application into node.
c | NodeContainer that run this application. |
Reimplemented from ns3::DceApplicationHelper.
Definition at line 18 of file ccn-client-helper.cc.
References CopyFile(), CopyRealFileToVirtual(), CreateKeystore(), GetKeystoreTemplate(), m_files, ns3::UtilsEnsureAllDirectoriesExist(), and ns3::UtilsEnsureDirectoryExists().
|
private |
Definition at line 22 of file ccn-client-helper.h.