From 7e21069bea9e8e6276591eee98f22cb07d67392d Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Fri, 4 Nov 2016 14:12:57 +0100 Subject: Splits up the Node.cpp class in 3 parts. --- node/node.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'node/node.hpp') diff --git a/node/node.hpp b/node/node.hpp index a143359..ea73121 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -13,6 +13,7 @@ #include #include +#include /*! * \file @@ -86,12 +87,12 @@ class Node void handle_node_prepost(cmix_proto::PrePost const& prepost); void handle_node_message(cmix_proto::CMixMessage message); - void handle_client_keyexchange(ClientConnections::key_type handle, cmix_proto::KeyExchange ke); - void handle_client_bye(ClientConnections::key_type handle, cmix_proto::Bye); + void handle_client_keyexchange(ClientConnections::key_type handle, cmix_proto::KeyExchange const& ke); + void handle_client_bye(ClientConnections::key_type handle, cmix_proto::Bye const&); void handle_client_message(ClientConnections::key_type handle, cmix_proto::CMixMessage message); - void handle_imanode(Purgatory::iterator handle); - void handle_imaclient(Purgatory::iterator handle, cmix_proto::ImAClient c); + void handle_imanode(Purgatory::iterator handle, cmix_proto::ImANode const&); + void handle_imaclient(Purgatory::iterator handle, cmix_proto::ImAClient const& c); void handle_message(Purgatory::iterator handle, cmix_proto::CMixMessage message); public: -- cgit v1.2.3-70-g09d2