dpyMwClient.h File Reference
#include <boost/shared_ptr.hpp>
#include <boost/asio.hpp>
#include <boost/make_shared.hpp>
#include <boost/any.hpp>
#include <boost/system/error_code.hpp>
#include <boost/function.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/chrono.hpp>
#include <boost/asio/waitable_timer_service.hpp>
#include <boost/thread.hpp>
Include dependency graph for dpyMwClient.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | DpyMwClient |
Manages dealer and susbriber. More... | |
Typedefs | |
typedef boost::function< void(const std::string &, boost::any, int)> | f_proto_message_client |
Prototype of the function to call depending on the message received. More... | |
typedef std::map< uint64_t, f_proto_message_client > | map_proto_register_client |
Map to keep functions with a type of message associated. More... | |
typedef boost::function< void(const bool &alive)> | f_hearbeat_handler |
Prototype of the handler function used to keep track of service availability. More... | |
typedef boost::asio::basic_waitable_timer< boost::chrono::steady_clock > | steady_timer |
Typedef to use a steady timer. | |
Enumerations | |
enum | ServiceState { UNKNOWN, ACTIVE, DISCONNECTED } |
Service states. More... | |
Typedef Documentation
- Parameters
-
alive true if the associated service is available , false otherwise
- Parameters
-
First parameter is the content of the message. Second parameter is the handler of the callback Third parameter is the error code
- Parameters
-
ID of the type of message. Lambda function associated.
Enumeration Type Documentation
|
strong |