Do I have to reply to an invoke |
Category: |
Toolset
Purpose: |
Provide detailed rules on the use of INVOKE
Intended Audience: |
All ObjecTime developers
Applicable to: |
All Versions
Description: |
If the receiver does not reply() to the invoke message within the same transition (i.e. within the transition it received the invoke'd message on), then the invoke() function returns a 0 (failure). In the SimulationRTS, an exception is raised if the receiver does not reply within the receiving transition. The receiver MUST reply to the invoke within the same transition.
You must check the return code of the invoke() function to know whether you received a reply or not. It returns an int (indicating number of reply messages received).
Limitations: |
None
See also: |
ObjecTime C++ Guide, and RPL Guide
Copyright © 1999, ObjecTime Limited. |