YAMI4Industry
Data Fields
yami_agent Struct Reference

Message broker. More...

#include <agent.h>

Data Fields

int32_t listening_socket_
 
enum yami_protocol listening_protocol_
 
uint32_t last_core_message_id_
 
int64_t last_message_id_
 
yami_raw_message_function raw_message_callback_
 
yami_message_function message_callback_
 
yami_io_error_function io_error_callback_
 
yami_connection_event_function connection_callback_
 
struct yami_options options_
 
struct yami_channelchannels_array_
 
size_t channels_array_size_
 
struct yami_channel channels_ [MAX_NUMBER_OF_CHANNELS]
 

Detailed Description

Message broker.

The message broker that encapsulates physical channel management, incoming and outgoing message buffers, optional listener and related resource management activities.

The agent objects can be created and destroyed without constraints on the stack, on the free store or as static objects.

Field Documentation

struct yami_channel yami_agent::channels_[MAX_NUMBER_OF_CHANNELS]
struct yami_channel* yami_agent::channels_array_
size_t yami_agent::channels_array_size_
yami_connection_event_function yami_agent::connection_callback_
yami_io_error_function yami_agent::io_error_callback_
uint32_t yami_agent::last_core_message_id_
int64_t yami_agent::last_message_id_
enum yami_protocol yami_agent::listening_protocol_
int32_t yami_agent::listening_socket_
yami_message_function yami_agent::message_callback_
struct yami_options yami_agent::options_
yami_raw_message_function yami_agent::raw_message_callback_

The documentation for this struct was generated from the following file: