diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-29 15:35:26 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-29 15:35:26 +0200 |
| commit | 7097015fa3d2737b2e9438fdba9ec7b8f5630421 (patch) | |
| tree | 1fc277780216aa9142281458967d94a1cb4fcd1f /network-handler/networkhandler.hpp | |
| parent | cffc1ec24d7781130b600a24b9726b5168a7b053 (diff) | |
| download | cmix-7097015fa3d2737b2e9438fdba9ec7b8f5630421.tar.gz cmix-7097015fa3d2737b2e9438fdba9ec7b8f5630421.tar.bz2 cmix-7097015fa3d2737b2e9438fdba9ec7b8f5630421.zip | |
Refactored Client to be more reusable.
Added UserClient and NodeClient classes to handle communication from and
to Clients and Nodes respectively.
Diffstat (limited to 'network-handler/networkhandler.hpp')
| -rw-r--r-- | network-handler/networkhandler.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network-handler/networkhandler.hpp b/network-handler/networkhandler.hpp index 99eb4f9..058f6a9 100644 --- a/network-handler/networkhandler.hpp +++ b/network-handler/networkhandler.hpp @@ -1,7 +1,7 @@ #pragma once #include "acceptor.hpp" -#include "client.hpp" +#include "userclient.hpp" #include <boost/asio/io_service.hpp> #include <boost/asio/streambuf.hpp> @@ -26,7 +26,7 @@ class NetworkHandler Acceptor v4_acceptor; Acceptor v6_acceptor; - std::list<Client> clients; + std::list<UserClient> clients; public: NetworkHandler(ListenSettings const& listen_settings); |
