←Select platform

OnReceive Method (IDicomEvents)

Summary

Notifies a connection that data was received.

Syntax

C#
VB
WinRT C#
C++
Sub OnReceive( _ 
   ByVal error As Leadtools.Dicom.DicomExceptionCode, _ 
   ByVal pduType As Leadtools.Dicom.DicomPduType, _ 
   ByVal buffer() As Byte, _ 
   ByVal net As Leadtools.Dicom.Networking.DicomNet _ 
)  
function Leadtools.Dicom.Networking.IDicomEvents.OnReceive(  
   error , 
   pduType , 
   buffer , 
   net  
) 

Parameters

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.

net
The DicomNet object of the peer member of the connection.

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 generated for each DicomNet.SendXXX method provided by LEADTOOLS.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly