LDicomNet::IsISCLQueueEmpty
#include "ltdic.h"
L_BOOL LDicomNet::IsISCLQueueEmpty()
Determines whether the ISCL transmission queue is empty. This function is available in the Medical Suite toolkits.
Returns
Returns a value that indicates whether the ISCL transmission queue is empty. Possible values are:
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: |
LDicomNet::SendCEchoRequest, LDicomNet::CloseForced, Class Members |
Topics: |
|
|
General Integrated Secure Communication Layer (ISCL) Information |
Example
L_INT LDicomNet_IsISCLQueueEmptyExample(LDicomNet* m_pConnectDicomNet) { L_INT nRet; L_BOOL bRet; // taken from ISCL simple application nRet = m_pConnectDicomNet->SendCEchoRequest( (L_UCHAR)'A', 10, TEXT("pClass")); if(nRet != DICOM_SUCCESS) return nRet; bRet = m_pConnectDicomNet->IsISCLQueueEmpty(); if(bRet == TRUE) AfxMessageBox(TEXT("ISCL queue is empty")); else AfxMessageBox(TEXT("ISCL queue is not empty")); return DICOM_SUCCESS; }