Udostępnij za pośrednictwem


call::send_message Method

Synchronously passes a message from an ISource block to this call messaging block. It is invoked by the send method, when called by a source block.

virtual message_status send_message(
   message<_Type> * _PMessage,
   ISource<_Type> * _PSource
);

Parameters

  • _PMessage
    A pointer to the message object.

  • _PSource
    A pointer to the source block offering the message.

Return Value

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

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

call Class