aboutsummaryrefslogtreecommitdiff
path: root/network-handler/userclient.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'network-handler/userclient.hpp')
-rw-r--r--network-handler/userclient.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/network-handler/userclient.hpp b/network-handler/userclient.hpp
index 5734dd2..af810a7 100644
--- a/network-handler/userclient.hpp
+++ b/network-handler/userclient.hpp
@@ -4,17 +4,43 @@
#include "client.hpp"
+/*!
+ * \file
+ */
+
+/*!
+ * \brief The UserClient class
+ */
class UserClient
{
+ /*!
+ * \brief client
+ */
Client client;
+
+ /*!
+ * \brief handle_message
+ * \param message
+ */
void handle_message(std::vector<uint8_t> message);
public:
+ /*!
+ * \brief UserClient
+ * \param socket
+ */
UserClient(boost::asio::ip::tcp::socket&& socket);
virtual ~UserClient() = default;
+ /*!
+ * \brief receive
+ */
void receive();
+ /*!
+ * \brief on_done
+ * \param done
+ */
void on_done(Client::OnDoneFT done);
};