Eile Mit Weile
Loading...
Searching...
No Matches
ResponseListenerThread.hpp
1#ifndef EILE_MIT_WEILE_RESPONSELISTENERTHREAD_HPP
2#define EILE_MIT_WEILE_RESPONSELISTENERTHREAD_HPP
3
4#include <functional>
5#include <wx/wx.h>
6#include "sockpp/tcp_socket.h" // TODO check if still correct file
7#include "sockpp/tcp_connector.h" // TODO check if still correct file
8#include "ClientNetworkManager.hpp"
9
18class ResponseListenerThread: public wxThread{
19public:
20 ResponseListenerThread(sockpp::tcp_connector* connection);
23protected:
24 virtual ExitCode Entry();
28private:
29 void OutputError(std::string title, std::string message);
33 sockpp::tcp_connector* _connection;
35};
36
37
38#endif //EILE_MIT_WEILE_RESPONSELISTENERTHREAD_HPP
Thread that listens for responses from the server.
Definition ResponseListenerThread.hpp:18
virtual ExitCode Entry()
Definition ResponseListenerThread.cpp:16
void OutputError(std::string title, std::string message)
Definition ResponseListenerThread.cpp:78
~ResponseListenerThread()
Definition ResponseListenerThread.cpp:11
ResponseListenerThread(sockpp::tcp_connector *connection)
Definition ResponseListenerThread.cpp:6
sockpp::tcp_connector * _connection
Definition ResponseListenerThread.hpp:33