summaryrefslogtreecommitdiff
path: root/node/RuntimeEnvironment.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-21 15:18:50 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-21 15:18:50 -0700
commit2436e22f46b97b281e5fcf861ba091c9cb70a76f (patch)
tree874024c3033711788ea0e6733f1f909c4a2e65ba /node/RuntimeEnvironment.hpp
parent128a13107023075a8167bfdfb8ed9d404bd1dccd (diff)
downloadinfinitytier-2436e22f46b97b281e5fcf861ba091c9cb70a76f.tar.gz
infinitytier-2436e22f46b97b281e5fcf861ba091c9cb70a76f.zip
More work on abstracting socket manager.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
-rw-r--r--node/RuntimeEnvironment.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp
index 26c8da76..1061c452 100644
--- a/node/RuntimeEnvironment.hpp
+++ b/node/RuntimeEnvironment.hpp
@@ -75,13 +75,13 @@ public:
timeOfLastPacketReceived(0),
tapFactory((EthernetTapFactory *)0),
routingTable((RoutingTable *)0),
+ sm((SocketManager *)0),
log((Logger *)0),
prng((CMWC4096 *)0),
http((HttpClient *)0),
antiRec((AntiRecursion *)0),
mc((Multicaster *)0),
sw((Switch *)0),
- sm((SocketManager *)0),
topology((Topology *)0),
nc((NodeConfig *)0),
node((Node *)0),
@@ -117,6 +117,7 @@ public:
// These are passed in from outside and are not created or deleted by the ZeroTier node core
EthernetTapFactory *tapFactory;
RoutingTable *routingTable;
+ SocketManager *sm;
/*
* Order matters a bit here. These are constructed in this order
@@ -132,7 +133,6 @@ public:
AntiRecursion *antiRec;
Multicaster *mc;
Switch *sw;
- SocketManager *sm;
Topology *topology;
NodeConfig *nc;
Node *node;