L_DicomIsISCLQueueEmpty

Summary

Determines whether the ISCL transmission queue is empty. This function is available in the PACS Imaging toolkits.

Syntax

#include "ltdic.h"

L_LTDIC_API L_BOOL L_DicomIsISCLQueueEmpty(hNet)

Parameters

HDICOMNET hNet

Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.

Returns

Returns a value that indicates whether the ISCL transmission queue is empty. Possible values are:

Value Meaning
TRUE The ISCL transmission queue is empty.
FALSE The ISCL transmission queue is not empty.

Comments

The ISCL messages are added to the ISCL transmission queue, and will be sent in order on the network. Every object has its own ISCL transmission queue.

The ISCL transmission queue contains requests to send data, to send non-secure data and the requests for closing the connection. Closing the connection does not start until all send requests are processed.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

L_INT DicomIsISCLQueueEmptyExample(L_VOID) 
{ 
   HDICOMNET hDicomNet = NULL; 
   L_INT nRet=0; 
 
   hDicomNet = L_DicomCreateNetExt(MAKE_IMAGE_PATH(TEXT("")),DICOM_SECURE_NONE, NULL); 
   nRet = L_DicomConnect (hDicomNet, NULL, 0, TEXT("127.0.0.1"), 2761); 
 
   BOOL bRet = L_DicomIsISCLQueueEmpty(hDicomNet); 
   if(bRet == TRUE) 
      MessageBox(NULL, TEXT("ISCL queue is empty"), TEXT(""), MB_OK); 
   else 
      MessageBox(NULL, TEXT("ISCL queue is not empty"), TEXT(""), MB_OK); 
 
   return DICOM_SUCCESS; 
} 
Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.