Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

Receiving Messages

Show in webframe

LEADTOOLS provides high-level and low-level functions for receiving messages and handling the associated data. The high-level functions take the received message and data and parse the required information, making it readily available to you. The low-level functions let you receive the raw data and process that data as you wish.

There are two low-level functions provided by LEADTOOLS, LDicomNet::OnReceive and LDicomNet::OnReceiveData. A call to the LDicomNet::OnReceive function is generated prior to the generation of all the LDicomNet::OnReceivexxx functions provided. A call to the LDicomNet::OnReceiveData function is generated prior to the LDicomNet::OnReceiveCxxx and LDicomNet::OnReceiveNxxx functions.

For example, when an SCU calls LDicomNet::SendCStoreRequest, calls to LDicomNet::OnReceive, LDicomNet::OnReceiveData, and LDicomNet::OnReceiveCStoreRequest are all generated on the SCP. The LDicomNet::OnReceiveCStoreRequest function parses the received data into readily useable form. The LDicomNet::OnReceive and LDicomNet::OnReceiveData provide the message and data in raw form so you can process the information yourself.

When an SCU calls LDicomNet::SendReleaseRequest, only calls to LDicomNet::OnReceive and LDicomNet::OnReceiveReleaseRequest are generated (A call to LDicomNet::OnReceiveData is not generated.) since there is no data being sent.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.