←Select platform

OnReceiveData Method

Summary

Notifies a connection when a Data message was received.

Syntax
C#
VB
C++
protected virtual void OnReceiveData( 
   byte presentationID, 
   DicomDataSet cs, 
   DicomDataSet ds 
) 
Protected Overridable Sub OnReceiveData( _ 
   ByVal presentationID As Byte, _ 
   ByVal cs As DicomDataSet, _ 
   ByVal ds As DicomDataSet _ 
)  
protected: 
virtual void OnReceiveData(  
   byte presentationID, 
   DicomDataSet^ cs, 
   DicomDataSet^ ds 
)  

Parameters

presentationID
The Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data.

cs
A DicomDataSet object that contains the Command Set which specifies the actual command message.

ds
A DicomDataSet object that contains the actual data. This may be a null reference (Nothing in VB) if no Data Set is included.

Remarks

This is a low level means of receiving DICOM messages and data. It allows you to process messages yourself, instead of using the high level message processing methods provided. This method is called for each DicomNet.SendCXXX or DicomNet.SendNXXX method provided by LEADTOOLS.

Example

For an example, refer to SendData.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly