This documentation is archived and is not being maintained.

multitype_join::accept Method

Accepts a message that was offered by this multitype_join block, transferring ownership to the caller.

virtual message<_Destination_type> * accept(
   runtime_object_identity _MsgId,
   ITarget<_Destination_type> * _PTarget


The runtime_object_identity of the offered message object.


A pointer to the target block that is calling the accept method.

A pointer to the message that the caller now has ownership of.

Header: agents.h

Namespace: Concurrency