17 #ifndef YAMICPP_AGENT_IMPL_BASE_H_INCLUDED 18 #define YAMICPP_AGENT_IMPL_BASE_H_INCLUDED 20 #include "connection_event_dispatcher_base.h" 21 #include "incoming_message_dispatcher_base.h" 22 #include "io_error_dispatcher_base.h" 23 #include "outgoing_message_dispatcher_base.h" 24 #include <yami4-core/dll.h> 37 class DLL agent_impl_base
40 virtual ~agent_impl_base() {}
42 virtual void register_object(
43 const std::string & object_name,
44 std::unique_ptr<incoming_message_dispatcher_base> &
object) = 0;
46 virtual long long send(
47 std::unique_ptr<outgoing_message_dispatcher_base> &
48 outgoing_message_callback,
49 const std::string & target,
50 const std::string & object_name,
51 const std::string & message_name,
52 const serializable & content,
54 bool auto_connect) = 0;
56 virtual void register_connection_event_monitor(
57 std::unique_ptr<connection_event_dispatcher_base> & monitor) = 0;
59 virtual void register_io_error_logger(
60 std::unique_ptr<io_error_dispatcher_base> & logger) = 0;
67 #endif // YAMICPP_AGENT_IMPL_BASE_H_INCLUDED Namespace devoted to everything related to YAMI4.
Definition: activity_statistics_monitor.cpp:27