Add second work package for REST API implementation
[anna.git] / example / diameter / launcher / EventOperation.hpp
index 59ede33..be117cf 100644 (file)
@@ -100,14 +100,10 @@ public:
   bool show_stats(std::string &response);
 
   // Flow operations
-  bool sendmsg2e(std::string &response, const std::string & diameterJson);
-  bool sendmsg2c(std::string &response, const std::string & diameterJson);
-  bool answermsg2e(std::string &response, const std::string & diameterJson);
-  bool answermsg2c(std::string &response, const std::string & diameterJson);
-  bool answermsg2e_action(std::string &response, const std::string & action = "list");
-  bool answermsg2c_action(std::string &response, const std::string & action = "list");
-  bool sendhex2e(std::string &response, const std::string & diameterHex);
-  bool sendhex2c(std::string &response, const std::string & diameterHex);
+  bool sendmsg_hex_2e(std::string &response, const std::string & diameterJson_or_Hex, bool msg_or_hex);
+  bool sendmsg_hex_2c(std::string &response, const std::string & diameterJson_or_Hex, bool msg_or_hex);
+  bool answermsg_action_2e(std::string &response, const std::string & diameterJson_or_action, bool msg_or_action);
+  bool answermsg_action_2c(std::string &response, const std::string & diameterJson_or_action, bool msg_or_action);
 
   // FSM testing
   // test_id__<command>