SetAsyncOperations method (ILEADDicomNet)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short SetAsyncOperations (long hPDU, BOOL bEnabled, short nInvoked, short nPerformed);

Overview

Refer to Working with DICOM Associate Connections.

Remarks

Enables or disables Asynchronous Operation support. It also sets the number of operations that can be invoked if enabled.

If a DICOM Associate connection does not support Asynchronous Operations, then an Application Entity must wait for the response from one message before sending another. If Asynchronous Operations are supported, multiple messages may be sent without waiting for a response. The number of messages that may be sent is set using the SetAsyncOperations method.

To determine the number of Asynchronous Operations that may be invoked without a response, call the GetInvokedOperationsCount method. To determine the number of operations that have been completed, call GetPerformedOperationsCount method.

See Also

Elements:

IsAsyncOperations method, GetPerformedOperationsCount method, GetInvokedOperationsCount method

Topics:

DICOM Associate Connection: Modifying a DICOM Associate Handle