Argentum Online - Servidor
th_socket_sender.h
1 #ifndef TH_CLIENT_SENDER_H
2 #define TH_CLIENT_SENDER_H
3 
4 #include <functional>
5 
6 #include "../blocking_th_event_handler.h"
7 #include "protocol.h"
8 #include "socket.h"
9 
11  private:
12  Protocol protocol;
13 
14  protected:
15  virtual void handle(Event& ev) override;
16 
17  public:
18  ThSocketSender(Socket& socket);
19 
21  ThSocketSender& operator=(ThSocketSender&& other);
22 };
23 
24 #endif // TH_CLIENT_SENDER_H
Socket
Definition: socket.h:12
Protocol
Definition: protocol.h:12
Event
Definition: event.h:55
ThSocketSender
Definition: th_socket_sender.h:10
BlockingThEventHandler
Definition: blocking_th_event_handler.h:22