aboutsummaryrefslogtreecommitdiff
path: root/network-handler/nodemanager.hpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-08-29 15:35:26 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-08-29 15:35:26 +0200
commit7097015fa3d2737b2e9438fdba9ec7b8f5630421 (patch)
tree1fc277780216aa9142281458967d94a1cb4fcd1f /network-handler/nodemanager.hpp
parentcffc1ec24d7781130b600a24b9726b5168a7b053 (diff)
downloadcmix-7097015fa3d2737b2e9438fdba9ec7b8f5630421.tar.gz
cmix-7097015fa3d2737b2e9438fdba9ec7b8f5630421.tar.bz2
cmix-7097015fa3d2737b2e9438fdba9ec7b8f5630421.zip
Refactored Client to be more reusable.
Added UserClient and NodeClient classes to handle communication from and to Clients and Nodes respectively.
Diffstat (limited to 'network-handler/nodemanager.hpp')
-rw-r--r--network-handler/nodemanager.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/network-handler/nodemanager.hpp b/network-handler/nodemanager.hpp
new file mode 100644
index 0000000..e6a42c5
--- /dev/null
+++ b/network-handler/nodemanager.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "nodeclient.hpp"
+
+#include <vector>
+
+class NodeManager
+{
+ std::vector<NodeClient> clients;
+public:
+ NodeManager();
+};