Compartilhar via


transformer::accept_message Method

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

virtual message<_Output> * accept_message(
   runtime_object_identity _MsgId
);

Parameters

  • _MsgId
    The runtime_object_identity of the offered message object.

Return Value

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

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

transformer Class