SObjectizer  5.7
Classes | Functions
so_5::enveloped_msg::impl Namespace Reference

Classes

class  agent_demand_handler_invoker_t
 An implementation of handler_invoker interface. More...
 
class  mchain_demand_handler_invoker_t
 An implementation of handler_invoker interface for the case when a mesage was sent to mchain. More...
 

Functions

envelope_tmessage_to_envelope (const message_ref_t &src_msg)
 A helper function for casting message instance to envelope instance. More...
 

Function Documentation

◆ message_to_envelope()

envelope_t& so_5::enveloped_msg::impl::message_to_envelope ( const message_ref_t src_msg)
inline

A helper function for casting message instance to envelope instance.

Note
This function throws if message is not an instance of envelope_t.
This function throws if src_msg is nullptr.
Since
v.5.5.23
Parameters
src_msgMessage for casting.