Progress
Language Reference
CANCEL-REQUESTS( ) Method
Raises a STOP condition in the context of the currently running asynchronous request and purges the send queue of any asynchronous requests that have not been executed on the specified AppServer.
Return Type: LOGICAL Applies To: Server Object Handle
After executing this method, at the next I/O-blocking state (or on executing the PROCESS EVENTS statement) event procedures execute for the following asynchronous requests:
- All requests that were complete when this method executed but whose event procedures have not been run. Progress also sets the COMPLETE attribute of the associated asynchronous request handle to TRUE.
- The currently running request that was stopped by this method. Progress also sets the STOP attribute of the associated asynchronous request handle to TRUE.
- All requests that were purged from the send queue, and never run. Progress also sets the CANCELLED attribute of the associated asynchronous request handle to TRUE.
This method returns FALSE when the server handle is not in the connected state. (See the CONNECTED( ) Method). Otherwise, this method returns TRUE.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |