SMAS 2.0bA Primer |
4. The Factorial Example (SC-6)
The SC-6 scenario asks the PROXY to ask FACTORIAL to compute 5! Using the DUMB-FACTORIAL skill.
The difference here is that the PROXY agent has a (default) timeout to get the result. The timeout is shown by an orange notch on the PROXY thread. When the timeout occurs, the PROXY agent re-issues a request to the FACTORIAL agent. However, the answer is returned and this request will be abandonned. There is an upper limit on the number of times a request can be re-issued (currently 3 times by default. After that, if an answer is not received the system aborts the task.
Copyrignt Jean-Paul Barthès@UTC, 1998 Last update, Jan 99