hmbdc
simplify-high-performance-messaging-programming
hmbdc::app::context_property::ipc_enabled Class Reference

Context template parameter indicating the Context is ipc enabled and it can create or be attached to an ipc transport thru a transport name. More...

#include <Context.hpp>

Detailed Description

Context template parameter indicating the Context is ipc enabled and it can create or be attached to an ipc transport thru a transport name.

In addition to the normal Context functions, the Context acts either as the creator (owner) of the named ipc transport or an attcher to the transport. Since the creator performs a critical function to purge crushed or stuck Clients to avoid buffer full for other well-behaving Clients, it is expected to be running (started) as long as ipc functions. ipc transport uses persistent shared memory and if the dtor of Context is not called due to crashing, there will be stale shared memory in /dev/shm. It is very important that the Context is constructed exactly the same size (see constructor) and type as the ipc transport creator specified. All Contexts attaching to a single ipc transport collectively are subjected to the max_parallel_consumer limits just like a sinlge local (non-ipc) Context does. Example in ipc-market-data-propagate.cpp


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