Remove dynamic exceptions
[anna.git] / include / anna / comm / handler / MetaClientSocket.hpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite                           //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9 #ifndef anna_comm_handler_MetaClientSocket_hpp
10 #define anna_comm_handler_MetaClientSocket_hpp
11
12 #include <anna/comm/Handler.hpp>
13
14 namespace anna {
15
16 namespace comm {
17
18 class MetaClientSocket;
19
20 namespace handler {
21
22 class MetaClientSocket : public Handler {
23 public:
24   MetaClientSocket(Communicator* communicator, Type::_v type) :
25     Handler(communicator, type, Support::CongestionControl)
26   {;}
27
28 private:
29   virtual void apply() noexcept(false);
30   bool testClose() noexcept(false);
31
32   void breakAddress(const in_addr_t& address) ;
33 };
34
35 }
36 }
37 }
38
39 #endif
40