diff options
Diffstat (limited to 'client/cmixclient.hpp')
| -rw-r--r-- | client/cmixclient.hpp | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/client/cmixclient.hpp b/client/cmixclient.hpp index 1edb08e..d87c4b3 100644 --- a/client/cmixclient.hpp +++ b/client/cmixclient.hpp @@ -11,11 +11,21 @@ #include <string> #include <vector> +/*! + * \file + */ + +/*! + * \brief The NodeDetails struct + */ struct NodeDetails { - std::string host; - std::string port; + std::string host; ///< The host of the node. + std::string port; ///< The port of the node. }; +/*! + * \brief The CMixClient class + */ class CMixClient { struct NodeData { @@ -39,9 +49,16 @@ class CMixClient { void handle_message(int node_id, cmix_proto::CMixMessage message); -public: +public: + /*! + * \brief CMixClient + * \param details A vector of the connectiondetails for the cmix network + */ CMixClient(std::vector<NodeDetails> details); ~CMixClient(); + /*! + * \brief run Runs the underlying io_service. + */ void run(); };
\ No newline at end of file |
