aboutsummaryrefslogtreecommitdiff
path: root/libcmix-network/nodeclient.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-network/nodeclient.hpp')
-rw-r--r--libcmix-network/nodeclient.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/libcmix-network/nodeclient.hpp b/libcmix-network/nodeclient.hpp
index 9a3799a..ca1ee67 100644
--- a/libcmix-network/nodeclient.hpp
+++ b/libcmix-network/nodeclient.hpp
@@ -6,15 +6,44 @@
#include <vector>
+/*!
+ * \file
+ */
+
+/*!
+ * \brief The NodeClient class
+ */
class NodeClient
{
+ /*!
+ * \brief client
+ */
Client client;
+
+ /*!
+ * \brief handle_message
+ * \param message
+ */
void handle_message(std::vector<uint8_t> message);
public:
+
+ /*!
+ * \brief NodeClient
+ * \param socket
+ */
NodeClient(boost::asio::ip::tcp::socket&& socket);
+
virtual ~NodeClient() = default;
+ /*!
+ * \brief receive
+ */
void receive();
+
+ /*!
+ * \brief on_done
+ * \param done
+ */
void on_done(Client::OnDoneFT done);
};