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

OnReceive Method (INotifyReceiveMessage)






The client this notification applies to.
An error code.
The type of data that was sent.
Pointer to a buffer that contains all the data that was sent. This includes the Command Set and any associated Data Set.
The number of bytes of the data specified by buffer.
Notifies an implementor that data has been received.
Syntax
void OnReceive( 
   DicomClient Client,
   DicomExceptionCode error,
   DicomPduType pduType,
   IntPtr buffer,
   int bytes
)
'Declaration
 
Sub OnReceive( _
   ByVal Client As DicomClient, _
   ByVal error As DicomExceptionCode, _
   ByVal pduType As DicomPduType, _
   ByVal buffer As IntPtr, _
   ByVal bytes As Integer _
) 
'Usage
 
Dim instance As INotifyReceiveMessage
Dim Client As DicomClient
Dim error As DicomExceptionCode
Dim pduType As DicomPduType
Dim buffer As IntPtr
Dim bytes As Integer
 
instance.OnReceive(Client, error, pduType, buffer, bytes)
void OnReceive( 
   DicomClient Client,
   DicomExceptionCode error,
   DicomPduType pduType,
   IntPtr buffer,
   int bytes
)
function Leadtools.Dicom.AddIn.Interfaces.INotifyReceiveMessage.OnReceive( 
   Client ,
   error ,
   pduType ,
   buffer ,
   bytes 
)
void OnReceive( 
   DicomClient^ Client,
   DicomExceptionCode error,
   DicomPduType pduType,
   IntPtr buffer,
   int bytes
) 

Parameters

Client
The client this notification applies to.
error
An error code.
pduType
The type of data that was sent.
buffer
Pointer to a buffer that contains all the data that was sent. This includes the Command Set and any associated Data Set.
bytes
The number of bytes of the data specified by buffer.
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

INotifyReceiveMessage Interface
INotifyReceiveMessage Members

 

 


Products | Support | Contact Us | Copyright Notices

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

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