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

OnConnect Method (IDicomEvents)








An error code.
The DicomNet object of the peer member of the connection.
Notifies the SCU that the connection attempt is complete. .NET support WinRT support
Syntax
void OnConnect( 
   DicomExceptionCode error,
   DicomNet net
)
'Declaration
 
Sub OnConnect( _
   ByVal error As DicomExceptionCode, _
   ByVal net As DicomNet _
) 
'Usage
 
Dim instance As IDicomEvents
Dim error As DicomExceptionCode
Dim net As DicomNet
 
instance.OnConnect(error, net)
void OnConnect( 
   DicomExceptionCode error,
   DicomNet net
)
ObjectiveC Syntax
function Leadtools.Dicom.Networking.IDicomEvents.OnConnect( 
   error ,
   net 
)
void OnConnect( 
   DicomExceptionCode error,
   DicomNet^ net
) 

Parameters

error
An error code.
net
The DicomNet object of the peer member of the connection.
Remarks
A call to this method is generated on an SCU when an SCP calls DicomNet.Accept. It is generated whether or not the connection attempt is successful. It is also generated when a connection attempt has timed-out.

To customize this method, you must derive a class from DicomNet and override this method.

A DICOM Association must be established between an SCU and an SCP before any DICOM messages or data can be transmitted between them. For more information on creating a DICOM Association, refer to Creating a DICOM Associate Connection.

Example
For an example, refer to DicomNet.SendAssociateRequest.
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

IDicomEvents Interface
IDicomEvents Members
Connect Method
Accept 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