aboutsummaryrefslogtreecommitdiff
path: root/node/node.hpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-11-04 14:12:57 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2016-11-04 14:12:57 +0100
commit7e21069bea9e8e6276591eee98f22cb07d67392d (patch)
tree0e9cbd87b99e9bb3382f0e8b889142956ca9e89e /node/node.hpp
parentdaa2fcec05bdc7798acffac7aec468856f432eab (diff)
downloadcmix-7e21069bea9e8e6276591eee98f22cb07d67392d.tar.gz
cmix-7e21069bea9e8e6276591eee98f22cb07d67392d.tar.bz2
cmix-7e21069bea9e8e6276591eee98f22cb07d67392d.zip
Splits up the Node.cpp class in 3 parts.
Diffstat (limited to 'node/node.hpp')
-rw-r--r--node/node.hpp9
1 files changed, 5 insertions, 4 deletions
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 <boost/asio/io_service.hpp>
#include <list>
+#include <string>
/*!
* \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: