summaryrefslogtreecommitdiff
path: root/node/RuntimeEnvironment.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-18 12:00:15 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-18 12:00:15 -0700
commitdc0f3559be4825b61c3fcf51f3f870d23450264e (patch)
tree78fb46535f14626c4cb8d4b83851933aeda9cf64 /node/RuntimeEnvironment.hpp
parentbb25128406b5127df5ffd2f671936cacaa83306e (diff)
downloadinfinitytier-dc0f3559be4825b61c3fcf51f3f870d23450264e.tar.gz
infinitytier-dc0f3559be4825b61c3fcf51f3f870d23450264e.zip
Rip out old condition and Demarc stuff...
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
-rw-r--r--node/RuntimeEnvironment.hpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp
index aca49fd0..ffa6cbdb 100644
--- a/node/RuntimeEnvironment.hpp
+++ b/node/RuntimeEnvironment.hpp
@@ -32,13 +32,11 @@
#include "Constants.hpp"
#include "Identity.hpp"
-#include "Condition.hpp"
namespace ZeroTier {
class NodeConfig;
class Logger;
-class Demarc;
class Switch;
class Topology;
class SysEnv;
@@ -47,6 +45,7 @@ class Service;
class Node;
class Multicaster;
class SoftwareUpdater;
+class SocketManager;
/**
* Holds global state for an instance of ZeroTier::Node
@@ -70,7 +69,7 @@ public:
prng((CMWC4096 *)0),
mc((Multicaster *)0),
sw((Switch *)0),
- demarc((Demarc *)0),
+ sm((SocketManager *)0),
topology((Topology *)0),
sysEnv((SysEnv *)0),
nc((NodeConfig *)0),
@@ -84,10 +83,6 @@ public:
// Full path to home folder
std::string homePath;
- // Main loop waits on this condition when it delays between runs, so
- // signaling this will prematurely wake it.
- Condition mainLoopWaitCondition;
-
// This node's identity
Identity identity;
@@ -109,7 +104,7 @@ public:
CMWC4096 *prng;
Multicaster *mc;
Switch *sw;
- Demarc *demarc;
+ SocketManager *sm;
Topology *topology;
SysEnv *sysEnv;
NodeConfig *nc;