LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

OnReceiveData Method (DicomNet)








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.
A DicomDataSet object that contains the Command Set which specifies the actual command message.
A DicomDataSet object that contains the actual data. This may be a null reference (Nothing in Visual Basic) if no Data Set is included.
Notifies a connection when a Data message was received. .NET support
Syntax
protected virtual void OnReceiveData( 
   byte presentationID,
   DicomDataSet cs,
   DicomDataSet ds
)
'Declaration
 
Protected Overridable Sub OnReceiveData( _
   ByVal presentationID As Byte, _
   ByVal cs As DicomDataSet, _
   ByVal ds As DicomDataSet _
) 
'Usage
 
Dim instance As DicomNet
Dim presentationID As Byte
Dim cs As DicomDataSet
Dim ds As DicomDataSet
 
instance.OnReceiveData(presentationID, cs, ds)
protected virtual void OnReceiveData( 
   byte presentationID,
   DicomDataSet cs,
   DicomDataSet ds
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomNet.OnReceiveData( 
   presentationID ,
   cs ,
   ds 
)
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 Visual Basic) 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomNet Class
DicomNet Members
SendCCancelRequest Method
SendCEchoRequest Method
SendCEchoResponse Method
SendCFindRequest Method
SendCFindResponse Method
SendCGetRequest Method
SendCGetResponse Method
SendCMoveRequest Method
SendCMoveResponse Method
SendCStoreRequest Method
SendCStoreResponse Method
SendNReportRequest Method
SendNReportResponse Method
SendNGetRequest Method
SendNGetResponse Method
SendNSetRequest Method
SendNSetResponse Method
SendNActionRequest Method
SendNActionResponse Method
SendNCreateRequest Method
SendNCreateResponse Method
SendNDeleteRequest Method
SendNDeleteResponse Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features