#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 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. |
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
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64.
Functions: |
|
Topics: |
|
|
|
|
General Integrated Secure Communication Layer (ISCL) Information |
#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;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET