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:

Closing an ISCL Connection

 

General Integrated Secure Communication Layer (ISCL) Information

Example

void CMainFrame::OnNetworkSendcechorequest() 
{
   // taken from ISCL simple application
   theApp.m_pConnectDicomNet->SendCEchoRequest('A', 10, "pClass");
   L_BOOL bRet;
   bRet = theApp.m_pConnectDicomNet->IsISCLQueueEmpty();
   if(bRet == TRUE)
      AfxMessageBox("ISCL queue is empty");
   else
      AfxMessageBox("ISCL queue is not empty");
}