SObjectizer 5.8
Loading...
Searching...
No Matches
so_5::mchain_send_result_t Class Reference

A result of attempt of sending messages to a message chain. More...

#include <mchain.hpp>

Public Member Functions

 mchain_send_result_t () noexcept
 Default constructor.
 
 mchain_send_result_t (std::size_t sent, mchain_props::push_status_t status)
 Initializing constructor.
 
std::size_t sent () const noexcept
 Count of messages sent.
 
mchain_props::push_status_t status () const noexcept
 Status of send operation.
 

Private Attributes

std::size_t m_sent
 Count of messages sent.
 
mchain_props::push_status_t m_status
 The status of send operation.
 

Detailed Description

A result of attempt of sending messages to a message chain.

This type plays the same role as mchain_receive_result_t but is used for send operations.

Since
v.5.7.0

Definition at line 978 of file mchain.hpp.

Constructor & Destructor Documentation

◆ mchain_send_result_t() [1/2]

so_5::mchain_send_result_t::mchain_send_result_t ( )
inlinenoexcept

Default constructor.

Sets push_status_t::not_stored status.

Definition at line 991 of file mchain.hpp.

◆ mchain_send_result_t() [2/2]

so_5::mchain_send_result_t::mchain_send_result_t ( std::size_t sent,
mchain_props::push_status_t status )
inline

Initializing constructor.

Definition at line 997 of file mchain.hpp.

Member Function Documentation

◆ sent()

std::size_t so_5::mchain_send_result_t::sent ( ) const
inlinenodiscardnoexcept

Count of messages sent.

Definition at line 1007 of file mchain.hpp.

◆ status()

mchain_props::push_status_t so_5::mchain_send_result_t::status ( ) const
inlinenodiscardnoexcept

Status of send operation.

Definition at line 1012 of file mchain.hpp.

Member Data Documentation

◆ m_sent

std::size_t so_5::mchain_send_result_t::m_sent
private

Count of messages sent.

Definition at line 981 of file mchain.hpp.

◆ m_status

mchain_props::push_status_t so_5::mchain_send_result_t::m_status
private

The status of send operation.

Definition at line 984 of file mchain.hpp.


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