aboutsummaryrefslogtreecommitdiff
path: root/network-handler/client.cpp
AgeCommit message (Collapse)Author
2016-08-31Split up the client and server parts in a separate network libraryDennis Brentjes
2016-08-30Replaced Client based implementation to composition instead of inheritance.Dennis Brentjes
2016-08-29Refactored Client to be more reusable.Dennis Brentjes
Added UserClient and NodeClient classes to handle communication from and to Clients and Nodes respectively.
2016-08-29Refactors on_done to done and set_on_done to on_done.Dennis Brentjes
2016-08-29Changes to boost::asio::streambuf for storage of async_receive.Dennis Brentjes
2016-08-29Adds the Acceptor and Client class.Dennis Brentjes
The acceptor combines the endpoint and acceptor to reduce clutter in NetworkHandler class. The client will handle the connection for the network handler for every separate client. The networkhander now has a std::list of Client, to keep track and ownership of all the Clients.