5#ifndef YAMICPP_AGENT_IMPL_BASE_H_INCLUDED
6#define YAMICPP_AGENT_IMPL_BASE_H_INCLUDED
8#include "connection_event_dispatcher_base.h"
9#include "incoming_message_dispatcher_base.h"
10#include "io_error_dispatcher_base.h"
11#include "outgoing_message_dispatcher_base.h"
12#include <yami4-core/dll.h>
30 virtual long long get_next_message_id() = 0;
32 virtual void register_object(
33 const std::string & object_name,
34 std::unique_ptr<incoming_message_dispatcher_base> &
object) = 0;
36 virtual long long send(
37 std::unique_ptr<outgoing_message_dispatcher_base> &
38 outgoing_message_callback,
39 const std::string & target,
40 const std::string & object_name,
41 const std::string & message_name,
44 bool auto_connect) = 0;
47 std::unique_ptr<outgoing_message_dispatcher_base> &
48 outgoing_message_callback,
49 const std::string & target,
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;
Definition: agent_impl_base.h:26
Common interface for serializable data source.
Definition: serializable.h:21
Namespace devoted to everything related to YAMI4.
Definition: agent.h:21