L_DicomIsISCLQueueEmpty

#include "ltdic.h"

L_LTDIC_API L_BOOL L_DicomIsISCLQueueEmpty(hNet)

HDICOMNET hNet;

handle to an existing DICOM Network

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

Parameter

Description

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

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64.

See Also

Functions:

L_DicomSendCEchoRequest, L_DicomCloseForced

Topics:

DICOM Net: ISCL connection

 

Closing an ISCL Connection

 

General Integrated Secure Communication Layer (ISCL) Information

Example

#define MAKE_IMAGE_PATH(pFileName) TEXT("C:\\Users\\Public\\Documents\\LEADTOOLS Images\\")pFileName 
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help