Remove dynamic exceptions
[anna.git] / include / anna / http / parser / WaitMessage.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_http_parser_WaitMessage_hpp
10 #define anna_http_parser_WaitMessage_hpp
11
12 #include <anna/http/parser/Abstract.hpp>
13
14 namespace anna {
15
16 namespace http {
17
18 class Tokenizer;
19
20 namespace parser {
21
22 class WaitMessage : public parser::Abstract {
23 public:
24   WaitMessage() : parser::Abstract(ClassType::WaitMessage) {;}
25
26 private:
27   int processLine(Transport&, const DataBlock&, const Token& line) const noexcept(false);
28
29   static bool setupRequest(Transport&, const Tokenizer&) ;
30   static void setupResponse(Transport&, const Tokenizer&) ;
31 };
32
33 }
34 }
35 }
36
37 #endif