LEADTOOLS Medical (Leadtools.Dicom assembly)

OnConnect Method (DicomNet)

Show in webframe







An error code.
Notifies the SCU that the connection attempt is complete.
Syntax
protected virtual void OnConnect( 
   DicomExceptionCode error
)
'Declaration
 
Protected Overridable Sub OnConnect( _
   ByVal error As DicomExceptionCode _
) 
'Usage
 
Dim instance As DicomNet
Dim error As DicomExceptionCode
 
instance.OnConnect(error)
protected virtual void OnConnect( 
   DicomExceptionCode error
)

            

            
 function Leadtools.Dicom.DicomNet.OnConnect( 
   error 
)
protected:
virtual void OnConnect( 
   DicomExceptionCode error
) 

Parameters

error
An error code.
Remarks
A call to this method is generated on an SCU when an SCP calls 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 SendAssociateRequest.
Requirements

Target Platforms

See Also

Reference

DicomNet Class
DicomNet Members
Connect(String,Int32,String,Int32) Method
Accept Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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