Available in LEADTOOLS Medical Imaging toolkits. |
LDicomNet::OnReceiveReleaseRequest
#include "ltdic.h"
virtual L_VOID LDicomNet::OnReceiveReleaseRequest(L_VOID)
Notifies a connection that a Release Request message was received. This function is available in the PACS Imaging Toolkit.
Returns
None.
Comments
A call to this function is generated on an SCP when an SCU calls LDicomNet::SendReleaseRequest. For more information on DICOM Associate connections, refer to Creating a DICOM Associate Connection.
To customize this function, you must derive a class from LDicomNet and override this function.
When the DICOM Association is no longer needed, it should be ended. For more information, refer to Closing a DICOM Associate Connection.
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
Example
//LMyDicomNet is a class derived from LDicomNet //In class LMyDicomNet, all events (virtual functions OnXXX()) have been //overridden so that they can be processed. Each event displays a MessageBox //identifying the event, the IP that generated the event, the IP that received the event and //any other relevant data. //For the entire derived class, see (hyperlink)LMyDicomNet class L_VOID LMyDicomNet::OnReceiveReleaseRequest() { CString strMsg; L_UINT lPeerPort; L_TCHAR szPeerAddress[100]; GetPeerInfo(szPeerAddress, 100,&lPeerPort); strMsg.Format(TEXT("*** OnReceiveReleaseRequest ***\nPeer[%s]"),szPeerAddress); SendReleaseResponse(); AfxMessageBox(strMsg); }