aboutsummaryrefslogtreecommitdiff
path: root/network-handler/nodeclient.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'network-handler/nodeclient.hpp')
-rw-r--r--network-handler/nodeclient.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/network-handler/nodeclient.hpp b/network-handler/nodeclient.hpp
new file mode 100644
index 0000000..00d8450
--- /dev/null
+++ b/network-handler/nodeclient.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "client.hpp"
+
+#include <boost/asio/ip/tcp.hpp>
+
+#include <vector>
+
+class NodeClient : public Client
+{
+ virtual void handle_message(std::vector<uint8_t> message) override final;
+
+public:
+ NodeClient(boost::asio::ip::tcp::socket&& socket);
+ virtual ~NodeClient() = default;
+};