62b0ce2db934a23925f52cfa50775c9a2c7410ab
[anna.git] / dynamic / launcher / default / Procedure.cpp
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 // Standard
9 #include <iostream>
10 #include <string>
11
12 // Project
13 #include <anna/core/Exception.hpp>
14
15
16 // Local
17 #include "Procedure.hpp"
18
19 void Procedure::execute(const std::string &args, std::string &response, anna::diameter::comm::OriginHost *originHost) throw(anna::RuntimeException) {
20   response = "Empty default implementation. Make dynamic library and reimplement this method.";
21   if (args != "" ) {
22     response += " Provided argument(s) ignored: ";
23     response += args;
24   }
25 }
26