diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-25 17:53:57 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-25 17:53:57 -0400 |
| commit | 57d8730f1b3da3f9fe23a9fa02c8557b80bf6716 (patch) | |
| tree | 3ac70dfd9d3ecabcb90a18b2aff4a5a2e5d43db4 /node/RuntimeEnvironment.hpp | |
| parent | af8fcac0fcfd64600a442dc4d633601e29e611ea (diff) | |
| download | infinitytier-57d8730f1b3da3f9fe23a9fa02c8557b80bf6716.tar.gz infinitytier-57d8730f1b3da3f9fe23a9fa02c8557b80bf6716.zip | |
Wire up RPC plugin loading to Node.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index bc63543a..35c2de3f 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -42,6 +42,7 @@ class Topology; class SysEnv; class Multicaster; class CMWC4096; +class RPC; /** * Holds global state for an instance of ZeroTier::Node @@ -65,7 +66,9 @@ public: demarc((Demarc *)0), multicaster((Multicaster *)0), sw((Switch *)0), - topology((Topology *)0) + topology((Topology *)0), + sysEnv((SysEnv *)0), + rpc((RPC *)0) { } @@ -76,6 +79,9 @@ public: Identity identity; + // Order matters a bit here. These are constructed in this order + // and then deleted in the opposite order on Node exit. + Logger *log; // may be null CMWC4096 *prng; NodeConfig *nc; @@ -84,6 +90,7 @@ public: Switch *sw; Topology *topology; SysEnv *sysEnv; + RPC *rpc; }; } // namespace ZeroTier |
