The diagram given below shows a simple example of an SCU-SCP connection and a series of function calls used to transfer messages and data.
SCU |
|
SCP |
|
|
|
Create a DICOM Network handle. |
||
Initialize the DICOM Network handle. |
||
Set the callbacks to be used. |
||
|
The SCP listens for incoming connection requests. |
|
The SCU calls this function to connect to an SCP. This generates a call to this callback function on the SCP |
||
The SCP calls L_DicomCreateNet and L_DicomSetCallback for each connection it accepts. This provided the SCP memory to store information about this specific connection. L_DicomAccept is called to accept the connection. This generates a call to this callback function on the SCU. |
||
|
DICOM Network Connection established |
|
The SCU calls this function to request a DICOM Associate connection. This generates calls to these callback functions on the SCP. |
||
RECEIVECALLBACK |
The SCP calls L_DicomSendAssociateAccept to accept the DICOM Associate connection. This generates calls to RECEIVECALLBACK and RECEIVEASSOCIATEACCEPTCALLBACK on the SCU. L_DicomSendAssociateReject is sent to reject the DICOM Associate connection. This generates calls to RECEIVECALLBACK and RECEIVEASSOCIATEREJECTCALLBACK on the SCU. |
|
|
DICOM Associate Connection established |
|
The SCU calls this function to request the storage of data. This generates calls to these callback functions on the SCP. |
RECEIVECALLBACK |
|
RECEIVECALLBACK |
The SCP calls this function to respond to the storage request. This generates calls to these callback functions on the SCU. |
|
The SCP calls L_DicomSendReleaseRequest to request a release from the DICOM Associate connection. This generates calls to RECEIVECALLBACK and RECEIVERELEASEREQUESTCALLBACK on the SCP. This is the preferred method of closing a connection. L_DicomSendAbort can also be sent to close a connection. This generates calls to RECEIVECALLBACK and RECEIVEABORTCALLBACK on the SCP. |
RECEIVECALLBACK |
|
The SCP calls this function to respond to the release request. This generates calls to the following callback functions on the SCU. |
||
The SCU calls this function to close the DICOM Associate connection. This generates a call to this callback function on the SCP. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET