summaryrefslogtreecommitdiff
path: root/node/NodeConfig.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-15 16:32:55 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-15 16:32:55 -0700
commitfb22ef053b7e73d62789e6c9816cbb918638ae85 (patch)
tree196a091fb419ab0f1e43be6f28a746af86b2c906 /node/NodeConfig.hpp
parent4ba426934439ac37e63e30f53a93a7d765f5cbba (diff)
downloadinfinitytier-fb22ef053b7e73d62789e6c9816cbb918638ae85.tar.gz
infinitytier-fb22ef053b7e73d62789e6c9816cbb918638ae85.zip
Move rest of NodeControl stuff out of node/ and into control/
Diffstat (limited to 'node/NodeConfig.hpp')
-rw-r--r--node/NodeConfig.hpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/node/NodeConfig.hpp b/node/NodeConfig.hpp
index d374eee6..c53ffd6e 100644
--- a/node/NodeConfig.hpp
+++ b/node/NodeConfig.hpp
@@ -54,10 +54,9 @@ class NodeConfig
public:
/**
* @param renv Runtime environment
- * @param authToken Configuration authentication token
* @throws std::runtime_error Unable to initialize or listen for IPC connections
*/
- NodeConfig(const RuntimeEnvironment *renv,const char *authToken);
+ NodeConfig(const RuntimeEnvironment *renv);
~NodeConfig();
@@ -164,27 +163,12 @@ public:
return tapDevs;
}
-private:
- /*
- static void _CBcommandHandler(void *arg,IpcConnection *ipcc,IpcConnection::EventType event,const char *commandLine);
- void _doCommand(IpcConnection *ipcc,const char *commandLine);
- */
-
void _readLocalConfig();
void _writeLocalConfig();
const RuntimeEnvironment *_r;
-
- /*
- IpcListener _ipcListener;
- std::string _authToken;
- std::map< IpcConnection *,bool > _connections;
- Mutex _connections_m;
- */
-
Dictionary _localConfig; // persisted as local.conf
Mutex _localConfig_m;
-
std::map< uint64_t,SharedPtr<Network> > _networks; // persisted in networks.d/
Mutex _networks_m;
};