SObjectizer
5.5
|
Parameters for message chain. More...
#include <mchain.hpp>
Public Member Functions | |
mchain_params_t (mchain_props::capacity_t capacity) | |
Initializing constructor. More... | |
mchain_params_t & | capacity (mchain_props::capacity_t capacity) |
Set chain's capacity and related params. More... | |
const mchain_props::capacity_t & | capacity () const |
Get chain's capacity and related params. More... | |
mchain_params_t & | not_empty_notificator (mchain_props::not_empty_notification_func_t notificator) |
Set chain's notificator for 'not_empty' condition. More... | |
const mchain_props::not_empty_notification_func_t & | not_empty_notificator () const |
Get chain's notificator for 'not_empty' condition. More... | |
mchain_params_t & | disable_msg_tracing () |
Disable message delivery tracing explicitly. More... | |
bool | msg_tracing_disabled () const |
Is message delivery tracing disabled explicitly? More... | |
Private Attributes | |
mchain_props::capacity_t | m_capacity |
Chain's capacity. More... | |
mchain_props::not_empty_notification_func_t | m_not_empty_notificator |
An optional notificator for 'not_empty' condition. More... | |
bool | m_msg_tracing_disabled = { false } |
Is message delivery tracing disabled explicitly? More... | |
Parameters for message chain.
|
inline |
Initializing constructor.
capacity | Chain's capacity and related params. |
|
inline |
Set chain's capacity and related params.
|
inline |
Get chain's capacity and related params.
|
inline |
Disable message delivery tracing explicitly.
If this method called then message delivery tracing will not be used for that mchain even if message delivery tracing will be used for the whole SObjectizer Environment.
|
inline |
Is message delivery tracing disabled explicitly?
|
inline |
Set chain's notificator for 'not_empty' condition.
This notificator will be called when a message is stored to the empty chain and chain becomes not empty.
|
inline |
Get chain's notificator for 'not_empty' condition.
|
private |
Chain's capacity.
|
private |
Is message delivery tracing disabled explicitly?
|
private |
An optional notificator for 'not_empty' condition.