diff options
Diffstat (limited to 'network-handler/nodemanager.hpp')
| -rw-r--r-- | network-handler/nodemanager.hpp | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/network-handler/nodemanager.hpp b/network-handler/nodemanager.hpp index 8f6e7af..91d7160 100644 --- a/network-handler/nodemanager.hpp +++ b/network-handler/nodemanager.hpp @@ -6,17 +6,50 @@ #include <list> +/*! + * \file + */ + +/*! + * \brief The ConnectionInfo struct + */ struct ConnectionInfo { - std::string host; + std::string host; ///< The host + std::string port; ///< The port }; +/*! + * \brief The NodeManager class + * + * This class will probably never be fleshed out. + */ class NodeManager { + /*! + * \brief io_service + */ boost::asio::io_service io_service; + + /*! + * \brief api + */ Api api; + + /*! + * \brief key_pair + */ KeyPair key_pair; + + /*! + * \brief nodes + */ std::list<NodeClient> nodes; public: + + /*! + * \brief NodeManager + * \param connections + */ NodeManager(std::vector<ConnectionInfo> connections); |
