Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| pr_methods:cancel [2023/04/05 04:32] – ↷ Links adapted because of a move operation sean | pr_methods:cancel [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | {{tag>Index Programmers_Reference Methods |
| - | [< | + | |
| ==== cancel () ==== | ==== cancel () ==== | ||
| <code java> | <code java> | ||
| - | This method is called by the //**Aware IM**// framework when the operator sends the request to cancel the process. | + | This method is called by the //**AwareIM**// framework when the operator sends the request to cancel the process. |
| ===Parameters=== | ===Parameters=== | ||
| Line 10: | Line 10: | ||
| ===Returns=== | ===Returns=== | ||
| - | The method should return true if it allows the system to cancel the process. In this case it should set an internal flag indicating that the process has been cancelled. The execute and resume methods should periodically check this flag and if its value is true abort the execution of the process (see [[docs: | + | The method should return true if it allows the system to cancel the process. In this case it should set an internal flag indicating that the process has been cancelled. The execute and resume methods should periodically check this flag and if its value is true abort the execution of the process (see [[docs: |