SObjectizer  5.7
Public Member Functions | Private Attributes | List of all members
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. More...
 
 mchain_send_result_t (std::size_t sent, mchain_props::push_status_t status)
 Initializing constructor. More...
 
std::size_t sent () const noexcept
 Count of messages sent. More...
 
mchain_props::push_status_t status () const noexcept
 Status of send operation. More...
 

Private Attributes

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

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

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.

◆ 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.

Member Function Documentation

◆ sent()

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

Count of messages sent.

◆ status()

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

Status of send operation.

Member Data Documentation

◆ m_sent

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

Count of messages sent.

◆ m_status

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

The status of send operation.


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