次の方法で共有


ITarget::supports_anonymous_source Method

When overridden in a derived class, returns true or false depending on whether the message block accepts messages offered by a source that is not linked to it. If the overridden method returns true, the target cannot postpone an offered message, as consumption of a postponed message at a later time requires the source to be identified in its sourse link registry.

virtual bool supports_anonymous_source();

Return Value

true if the block can accept message from a source that is not linked to it false otherwise.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

ITarget Class