Quick solution: built-in the procedure into de own process
[anna.git] / example / diameter / launcher / Procedure.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 dynamic_launcher_gx_00001_hpp
10 #define dynamic_launcher_gx_00001_hpp
11
12 // Project
13 #include <anna/comm/comm.hpp>
14
15
16
17 class Procedure {
18     anna::comm::Application *a_app;
19
20   public:
21     Procedure(anna::comm::Application *app) : a_app(app) {;}
22
23     virtual void execute(const std::string &args, std::string &response)  throw(anna::RuntimeException);
24 };
25
26 #endif