diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-09-28 13:18:18 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-09-28 13:18:18 +0200 |
| commit | 3fe7a5b6a18b6841ae51f294dc58fe9c8df6d375 (patch) | |
| tree | 345583aaf457ce5076d0d5f7c158628dfd971360 /network-handler/nodemanager.hpp | |
| parent | 85d25eebd38bb278ad598a291a007938854945a4 (diff) | |
| download | cmix-3fe7a5b6a18b6841ae51f294dc58fe9c8df6d375.tar.gz cmix-3fe7a5b6a18b6841ae51f294dc58fe9c8df6d375.tar.bz2 cmix-3fe7a5b6a18b6841ae51f294dc58fe9c8df6d375.zip | |
Finally made a initial doxygen documentation pass over all files.
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); |
