diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-10 15:52:14 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-10 15:52:14 +0200 |
| commit | d8e48c32f8435076382543edfafbf81c223f9e87 (patch) | |
| tree | 575f0f7f452c4c8800e77c7fd79b4354fed8a81c /node/node.hpp | |
| parent | fa35c9c3c71243a7f8537e5a81f7a09fa05a382e (diff) | |
| download | cmix-d8e48c32f8435076382543edfafbf81c223f9e87.tar.gz cmix-d8e48c32f8435076382543edfafbf81c223f9e87.tar.bz2 cmix-d8e48c32f8435076382543edfafbf81c223f9e87.zip | |
Added a Client so we can start finishing up the setup phase of cMix.
Diffstat (limited to 'node/node.hpp')
| -rw-r--r-- | node/node.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/node/node.hpp b/node/node.hpp index a4e21b3..fa0cb37 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -51,8 +51,12 @@ class Node void start_precomputation(); void start_initialisation(); + cmix_proto::CMixMessage parse_cmix_message(std::vector<uint8_t> const& buffer); + void handle_initialization(cmix_proto::Initialization const& init); - void handle_message(std::vector<uint8_t> const& message_buffer); + void handle_node_message(std::vector<uint8_t> const& message_buffer); + + void handle_client_message(std::list<Client>::iterator handle, std::vector<uint8_t> const& message_buffer); void handle_imanode(std::list<Client>::iterator handle); void handle_imaclient(std::list<Client>::iterator handle); |
