logconfigClient.h
Go to the documentation of this file.
1 
5 #pragma once
6 #include "../../../../LIBRARIES/MIDDLEWARE/src/com/dpyMwClient.h"
7 #include "logconfigApi.h"
8 
16 {
17 
18 private:
19  void RegisterCallbacks();
20 
21 public:
22  explicit LogConfigClient(std::string& ip, int dport, int sport);
23  ~LogConfigClient();
24 
25  void asyncGetStatus(dpyLogconfig::list_handler_function handler, std::string name);
26  void asyncSetLevel(std::string appName, std::string level, dpyLogconfig::answer_pm_handler_function handler);
27 
28 };
boost::function< void(boost::system::error_code error_code, std::vector< App > apps)> list_handler_function
Handler for answer function callback.
Definition: logconfigApi.h:57
Interacts with Logging service.
Definition: logconfigClient.h:15
boost::function< void(boost::system::error_code error_code)> answer_pm_handler_function
Handler for answer function callback.
Definition: logconfigApi.h:49
Manages dealer and susbriber.
Definition: dpyMwClient.h:59