ANNA Suite  2020b
Multipurpose development suite for Telco applications
FailRecoveryHandler.hpp
Go to the documentation of this file.
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_dbms_FailRecoveryHandler_hpp
10 #define anna_dbms_FailRecoveryHandler_hpp
11 
12 namespace anna {
13 
14 namespace dbms {
15 
16 class Database;
17 class Connection;
18 
24 protected:
33  virtual void apply(Connection& connection, const int tryCounter) noexcept(false) = 0;
34 
35  friend class Database;
36 };
37 
38 }
39 }
40 
41 #endif
42 
43 
44 
Definition: Connection.hpp:38
Definition: Database.hpp:37
Definition: app.hpp:12
virtual void apply(Connection &connection, const int tryCounter) noexcept(false)=0
Definition: FailRecoveryHandler.hpp:23