From d8e48c32f8435076382543edfafbf81c223f9e87 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 10 Oct 2016 15:52:14 +0200 Subject: Added a Client so we can start finishing up the setup phase of cMix. --- client/cmixclient.hpp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 client/cmixclient.hpp (limited to 'client/cmixclient.hpp') diff --git a/client/cmixclient.hpp b/client/cmixclient.hpp new file mode 100644 index 0000000..10438d1 --- /dev/null +++ b/client/cmixclient.hpp @@ -0,0 +1,33 @@ +#pragma once + +#include "node.hpp" + +#include "logging.hpp" +#include "client.hpp" +#include "connect.hpp" +#include "cmix.pb.h" + +#include +#include + +struct NodeDetails { + std::string host; + std::string port; +}; + +class CMixClient { + + boost::asio::io_service io_service; + + std::vector network_details; + std::vector network_connections; + + void initialized(); + + void initialize_connections(); + +public: + CMixClient(std::vector details); + + void run(); +}; \ No newline at end of file -- cgit v1.2.3-70-g09d2