L_DicomIsISCLQueueEmpty
#include "ltdic.h"
L_BOOL EXT_FUNCTION 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 Medical Suite 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 |
See Also
Functions: |
|
Topics: |
|
|
|
|
General Integrated Secure Communication Layer (ISCL) Information |
Example
{
// suppose we have a HDICOMNET hDicomNet; connected to a server
BOOL bRet = L_DicomIsISCLQueueEmpty(hDicomNet);
if(bRet == TRUE)
MessageBox(NULL, "ISCL queue is empty", "", MB_OK);
else
MessageBox(NULL, "ISCL queue is not empty", "", MB_OK);
}