diff options
Diffstat (limited to 'node/NodeConfig.hpp')
| -rw-r--r-- | node/NodeConfig.hpp | 18 |
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; }; |
