LDicomNet::OnReceiveAssociateReject

Summary

Notifies a connection that an Associate Reject message was received. This function is available in the PACS Imaging Toolkit.

Syntax

#include "ltdic.h"

virtual L_VOID LDicomNet::OnReceiveAssociateReject(nResult, nSource, nReason)

Parameters

L_UCHAR nResult

Type of rejection. Possible values are:

Value Meaning
PDU_REJECT_RESULT_PERMANENT [1] Rejected permanently.
PDU_REJECT_RESULT_TRANSIENT [2] Rejected transiently.

L_UCHAR nSource

The source of the rejection. Possible values are:

Value Meaning
PDU_REJECT_SOURCE_USER [1] DICOM Upper Layer Service User.
PDU_REJECT_SOURCE_PROVIDER1 [2] DICOM Upper Layer Service Provider (ASCE related function)
PDU_REJECT_SOURCE_PROVIDER2 [3] DICOM Upper Layer Service Provider (Presentation related function)

L_UCHAR nReason

Reason for the rejection. This depends on the value of nSource. If nSource is PDU_REJECT_SOURCE_USER, the possible values are:

Value Meaning
PDU_REJECT_REASON_UNKNOWN [1] Unknown
PDU_REJECT_REASON_APPLICATION [2] Application context name not supported.
PDU_REJECT_REASON_CALLING [3] Calling AE Title not recognized.
PDU_REJECT_REASON_CALLED [7] Called AE Title not recognized.

If nSource is PDU_REJECT_SOURCE_PROVIDER1, the possible values are:

Value Meaning
PDU_REJECT_REASON_UNKNOWN [1] Unknown.
PDU_REJECT_REASON_VERSION [2] Protocol version not supported.

if nSource is PDU_REJECT_SOURCE_PROVIDER2, the possible values are:

Value Meaning
PDU_REJECT_REASON_CONGESTION [1] Temporary congestion.
PDU_REJECT_REASON_LIMIT [2] Local client limit exceeded.

Returns

None.

Comments

A call to this function is generated on an SCU when an SCP calls LDicomNet::SendAssociateReject. For more information on DICOM Associate connections, refer to Creating a DICOM Associate Connection.

To customize this function, you must derive a class from LDicomNet and override this function.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::SendCEchoRequest.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.