YAMI4 C++ Library 2.0.0
Messaging Solution for Distributed Systems
Loading...
Searching...
No Matches
Classes | Enumerations
yami Namespace Reference

Namespace devoted to everything related to YAMI4. More...

Classes

class  agent
 Message broker. More...
 
class  event_callback
 Event notification callback interface. More...
 
class  incoming_message
 Incoming message. More...
 
class  outgoing_message
 Outgoing message. More...
 
class  parameter_entry
 Read-only view on the parameters entry. More...
 
class  parameters
 Collection of message parameters. More...
 
class  raw_buffer_data_source
 Serializable wrapper for the raw binary data. More...
 
class  serializable
 Common interface for serializable data source. More...
 
class  value_publisher
 Simple subscription publisher. More...
 
class  yami_logic_error
 General exception class for reporting logic errors. More...
 
class  yami_runtime_error
 General exception class for reporting run-time errors. More...
 

Enumerations

enum  connection_event { new_incoming_connection , new_outgoing_connection , connection_closed }
 Kind of connection event. More...
 
enum  message_state {
  posted , transmitted , abandoned , replied ,
  rejected
}
 Outgoing message state. More...
 
enum  parameter_type {
  unused , boolean , integer , long_long ,
  word , long_long_word , double_float , string ,
  binary , boolean_array , integer_array , long_long_array ,
  word_array , long_long_word_array , double_float_array , string_array ,
  binary_array , nested_parameters , nested_parameters_array
}
 Type of parameter entry. More...
 
enum  value_publisher_overflow_action { wait_for_previous_message , abandon_message , abandon_subscription }
 User-defined reaction to the overflow condition in value publisher. More...
 

Detailed Description

Namespace devoted to everything related to YAMI4.

Enumeration Type Documentation

◆ connection_event

Kind of connection event.

Enumerator
new_incoming_connection 

New incoming connection was created.

new_outgoing_connection 

New outgoing connection was created.

connection_closed 

Connection was closed.

◆ message_state

Outgoing message state.

Enumerator
posted 

Message was posted for transmission.

transmitted 

Message was fully transmitted.

abandoned 

Message was abandoned due to error or channel closing.

replied 

The reply was received for the given message.

rejected 

Message was rejected.

◆ parameter_type

Type of parameter entry.

Enumerator
unused 

Internal mark for unused slots.

boolean 

bool

integer 

int

long_long 

long long

word 

unsigned int

long_long_word 

unsigned long long

double_float 

double

string 

string

binary 

Binary block.

boolean_array 

Array of bool.

integer_array 

Array of int.

long_long_array 

Array of long long.

word_array 

Array of unsigned int.

long_long_word_array 

Array of unsigned long long.

double_float_array 

Array of double.

string_array 

Array of strings.

binary_array 

Array of binary blocks.

nested_parameters 

Nested parameters object.

nested_parameters_array 

Array of nested parameters object.

◆ value_publisher_overflow_action

User-defined reaction to the overflow condition in value publisher.

Enumerator
wait_for_previous_message 

block and wait until previous message is transmitted

abandon_message 

abandon the current message and continue with other subscribers

abandon_subscription 

abandon the overflowing subscription altogether and continue with other subscribers