propagator_block::send_message Method

When overridden in a derived class, this method synchronously passes a message from an ISource block to this propagator_block object. It is invoked by the send method, when called by a source block.

virtual message_status send_message(
   message<_Source_type> *,
   ISource<_Source_type> *

A message_status indication of what the target decided to do with the message.

By default, this block returns declined unless overridden by a derived class.

Header: agents.h

Namespace: Concurrency

Community Additions