aboutsummaryrefslogtreecommitdiff
path: root/node/node.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/node.hpp')
-rw-r--r--node/node.hpp6
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);