diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-14 11:39:25 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-14 11:39:25 +0200 |
| commit | 20139a86eddc062fdbaacad0d7d6fdbd999f2e18 (patch) | |
| tree | 494db5134029fc7e46ffdf0cc2c2d7b5daf33c70 /node/node.hpp | |
| parent | 366bae00016bfbfdd354ab010555c2927505b2b2 (diff) | |
| download | cmix-20139a86eddc062fdbaacad0d7d6fdbd999f2e18.tar.gz cmix-20139a86eddc062fdbaacad0d7d6fdbd999f2e18.tar.bz2 cmix-20139a86eddc062fdbaacad0d7d6fdbd999f2e18.zip | |
Refactored some code to be more consistent.
Diffstat (limited to 'node/node.hpp')
| -rw-r--r-- | node/node.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node/node.hpp b/node/node.hpp index 9423860..76f3c0d 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -56,9 +56,12 @@ class Node void start_precomputation(); void start_initialisation(); - void handle_initialization(cmix_proto::Initialization const& init); + void handle_node_initialization(cmix_proto::Initialization const& init); + void handle_node_bye(cmix_proto::Bye); void handle_node_message(cmix_proto::CMixMessage message); + void handle_client_keyexchange(ClientMap::key_type handle, cmix_proto::KeyExchange ke); + void handle_client_bye(ClientMap::key_type handle, cmix_proto::Bye); void handle_client_message(ClientMap::key_type handle, cmix_proto::CMixMessage message); void handle_imanode(std::list<Receiver>::iterator handle); |
