Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## ASYNC-REQUEST-COUNT attribute

> The number of active asynchronous requests for the specified procedure or AppServer.

> Data type: INTEGER

> Access: Readable

> Applies to: Procedure object handle, Server object handle, THIS-PROCEDURE system handle

> For a procedure handle, this attribute is only meaningful if PROXY and PERSISTENT are set to TRUE. In all other cases, this attribute returns zero (0).

> Progress sets this attribute to one (1) on the following handles:

> - A proxy persistent procedure handle created for an initial asynchronous request.

> - The server handle of the AppServer where the asynchronous persistent procedure is instantiated.

> Progress increments this attribute:

> - On any proxy persistent procedure handle where an internal procedure defined in the specified remote persistent procedure context is executed asynchronously.

> - On any server handle where an internal or external procedure is executed asynchronously on the specified AppServer.

> Progress decrements this attribute as part of processing the PROCEDURE-COMPLETE event for one of the associated asynchronous requests. The attribute is decremented before any associated event procedure is executed in the context of a PROCESS EVENTS, WAIT-FOR, or other I/O-blocking statement.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095