|
SObjectizer
5.7
|
All stuff related to message limits. More...
Namespaces | |
Classes | |
| struct | abort_app_indicator_t |
| Message limit with reaction 'abort the application'. More... | |
| class | any_unspecified_message |
| A special mark to be used for default limits. More... | |
| struct | control_block_t |
| A control block for one message limit. More... | |
| struct | description_t |
| A description of one message limit. More... | |
| struct | drop_indicator_t |
| Message limit with reaction 'drop new message'. More... | |
| struct | log_then_abort_app_indicator_t |
| Message limit with reaction 'abort the application' and the possibility to call additional lambda before aborting the app. More... | |
| struct | message_limit_methods_mixin_t |
| A mixin with message limit definition methods. More... | |
| struct | overlimit_context_t |
| Description of context for overlimit action. More... | |
| struct | redirect_indicator_t |
| Indication that a message must be redirected on overlimit. More... | |
| struct | transform_indicator_t |
| An indicator of transform reaction on message overlimit. More... | |
| class | transformed_message_t |
| A result of message transformation. More... | |
Typedefs | |
| using | action_t = std::function< void(const overlimit_context_t &) > |
| A type for reaction of message overlimit. More... | |
| using | description_container_t = std::vector< description_t > |
| Type of container for holding message limit descriptions. More... | |
Functions | |
| template<class M > | |
| void | accept_one_indicator (description_container_t &to, const drop_indicator_t< M > &indicator) |
| Helper function for accepting drop_indicator and storing the corresponding description into the limits container. More... | |
| template<class M > | |
| void | accept_one_indicator (description_container_t &to, const abort_app_indicator_t< M > &indicator) |
| Helper function for accepting abort_app_indicator and storing the corresponding description into the limits container. More... | |
| template<class M , class L > | |
| void | accept_one_indicator (description_container_t &to, const log_then_abort_app_indicator_t< M, L > &indicator) |
| Helper function for accepting log_then_abort_app_indicator and storing the corresponding description into the limits container. More... | |
| template<typename Msg , typename Lambda > | |
| void | accept_one_indicator (description_container_t &to, redirect_indicator_t< Msg, Lambda > indicator) |
| Helper function for accepting redirect_indicator and storing the corresponding description into the limits container. More... | |
| template<class M > | |
| void | accept_one_indicator (description_container_t &to, transform_indicator_t< M > indicator) |
| Helper function for accepting transform_indicator and storing the corresponding description into the limits container. More... | |
| template<typename I , typename... Args> | |
| void | accept_indicators (description_container_t &to, I &&indicator, Args &&... others) |
| Helper function for constructing limits description from a series of limit indicators. More... | |
| void | accept_indicators (description_container_t &) |
All stuff related to message limits.
| using so_5::message_limit::action_t = typedef std::function< void(const overlimit_context_t&) > |
A type for reaction of message overlimit.
| using so_5::message_limit::description_container_t = typedef std::vector< description_t > |
Type of container for holding message limit descriptions.
| void so_5::message_limit::accept_indicators | ( | description_container_t & | to, |
| I && | indicator, | ||
| Args &&... | others | ||
| ) |
Helper function for constructing limits description from a series of limit indicators.
|
inline |
| void so_5::message_limit::accept_one_indicator | ( | description_container_t & | to, |
| const drop_indicator_t< M > & | indicator | ||
| ) |
Helper function for accepting drop_indicator and storing the corresponding description into the limits container.
| to | Container for storing new description to. |
| indicator | An instance of drop_indicator. |
| void so_5::message_limit::accept_one_indicator | ( | description_container_t & | to, |
| const abort_app_indicator_t< M > & | indicator | ||
| ) |
Helper function for accepting abort_app_indicator and storing the corresponding description into the limits container.
| to | Container for storing new description to. |
| indicator | An instance of abort_app_indicator to store. |
| void so_5::message_limit::accept_one_indicator | ( | description_container_t & | to, |
| const log_then_abort_app_indicator_t< M, L > & | indicator | ||
| ) |
Helper function for accepting log_then_abort_app_indicator and storing the corresponding description into the limits container.
| to | Container for storing new description to. |
| indicator | An instance of abort_app_indicator to store. |
| void so_5::message_limit::accept_one_indicator | ( | description_container_t & | to, |
| redirect_indicator_t< Msg, Lambda > | indicator | ||
| ) |
Helper function for accepting redirect_indicator and storing the corresponding description into the limits container.
| to | Container for storing new description to. |
| indicator | An instance of redirect_indicator to be stored. |
| void so_5::message_limit::accept_one_indicator | ( | description_container_t & | to, |
| transform_indicator_t< M > | indicator | ||
| ) |
Helper function for accepting transform_indicator and storing the corresponding description into the limits container.
| to | Container for storing new description to. |
| indicator | An instance of transform_indicator to be stored. |
1.8.14